#F0518C Color Information

Hex color code: #F0518C

The hex color #F0518C is a striking magenta with RGB values of (240, 81, 140) and HSL of (338°, 84%, 63%). It is often used for branding and logos.

Try:
Color NamePale Violet Red
HEX
#F0518C
RGB
240, 81, 140
HSL
338°, 84%, 63%
CMYK
0%, 66%, 42%, 6%

Shades

CSS Usage
color: #F0518C;
background-color: #F0518C;
border-color: #F0518C;
box-shadow: 0 0 10px #F0518C;
border: 2px solid #F0518C;
Tailwind Usage
bg-[#F0518C]
text-[#F0518C]
border-[#F0518C]
shadow-[0_0_10px_F0518C]

Generate Gradient

Gradient CSS
background: linear-gradient(90deg, #F0518C, #FF5733);

Preview in UI

Button

.btn-primary { background-color: #F0518C; color: #000000; }

Badge

New Feature
.badge { background-color: #F0518C; color: #000000; }

Text Highlight

The quick brown fox jumps over the lazy dog. highlighted text example shows how the color looks as a text highlight.

Card

Card Title

This card uses your color as a border accent.

.card-accent { border: 2px solid #F0518C; background-color: #F0518C15; }

Alert / Toast

This is an alert using your color as accent.
.alert { background-color: #F0518C20; border-left: 4px solid #F0518C; }

Link / Accent

This is a paragraph with a link using your color. The color can be applied to interactive elements.

a { color: #F0518C; }

Related Colors

Complementary

Analogous

Triadic

Split Complementary

Tetradic

Monochromatic

Popular Colors

Common HEX Colors

Color Theory

Relationships based on the position of #F0518C in the color wheel.

Current Complementary Triadic Analogous

RGB, HSL and CMYK Values

RGB

240, 81, 140

Red: 240 / Green: 81 / Blue: 140

HSL

338°, 84%, 63%

Hue: 338° / Saturation: 84% / Lightness: 63%

CMYK

0%, 66%, 42%, 6%

Cyan: 0% / Magenta: 66% / Yellow: 42% / Key: 6%

What color is #F0518C?

#F0518C is a highly saturated hue associated with energy and excitement.

Color Shades

Complementary Colors

Color Palette

HEX to RGB

Convert #F0518C to RGB:

rgb(240, 81, 140)HEX to RGB Converter →

HEX to HSL

Convert #F0518C to HSL:

hsl(338, 84%, 63%)RGB to HSL Converter →

HEX to CMYK

Convert #F0518C to CMYK:

cmyk(0%, 66%, 42%, 6%)Color Converter →

Color Meaning and Usage

#F0518C is a vivid magenta color with RGB values of 240, 81, 140 and HSL of 338°, 84%, 63%. This highly saturated hue evokes energy and excitement, making it suitable for often used for buttons, highlights, and accents. Lighter variations like #FFFFFF create softer gradients.

The complementary color of #F0518C is #51F0B6, creating high-contrast pairings. For softer combinations, try analogous colors like #F051DB.

Use #F0518C in CSS: color: #F0518C or background-color: #F0518C. Create palettes with Color Palette Generator or check contrast with Contrast Checker.

Contrast with #F0518C

Sample text on this color - The quick brown fox jumps over the lazy dog.

Contrast Ratio: 6.26:1
WCAG AA: Pass
WCAG AAA: Fail

Need more control? Contrast Checker →

Frequently Asked Questions

What color is #F0518C?

#F0518C is a vivid magenta color - a highly saturated hue that evokes energy and excitement.

What is the RGB value of #F0518C?

#F0518C in RGB is (240, 81, 140) - 240 red, 81 green, and 140 blue.

How to use #F0518C in CSS?

Use #F0518C directly in your CSS properties like color or background-color.

What colors go well with #F0518C?

#51F0B6 (complementary), #F051DB (analogous), and #E1145F (lighter shade) work well with #F0518C.