#F0518D#F0518D
#F0518D is a light, highly saturated pink. Relative luminance 0.263; OKLCH L 66.7% C 0.200 H 1.0°. Best body text is #000000 at 6.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F0518D |
|---|---|
| RGB | rgb(240, 81, 141) |
| HSL | hsl(337, 84%, 63%) |
| HSV | hsv(337, 66%, 94%) |
| CMYK | cmyk(0%, 66.3%, 41.3%, 5.9%) |
| CIE-LAB | lab(58.36, 65.37, 1.05) |
| CIE-LCH | lch(58.36, 65.38, 0.92°) |
| OKLab | oklab(66.71% 0.2 0.0035) |
| OKLCH | oklch(66.71% 0.2 1) |
| XYZ | xyz(43.6884, 26.3385, 27.9773) |
| Luminance | 0.2633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 3.03
Strawberry
#FC5A8D
ΔE00 3.60
Blush
#DE5D83
ΔE00 3.84
Warm Pink
#FB5581
ΔE00 4.93
Barbie Pink
#FE46A5
ΔE00 5.25
Strong Pink
#FF0789
ΔE00 5.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0518D #51F0B4
analogous
#F051DD #F0518D #F06451
triadic
#F0518D #8DF051 #518DF0
tetradic
#F0518D #DDF051 #51F0B4 #6451F0
square
#F0518D #DDF051 #51F0B4 #6451F0
split-complementary
#F0518D #51F064 #51DDF0
monochromatic
#B7104F #EB1968 #F0518D #F589B2 #FAC2D7
Accessibility & contrast
On white
3.35
#F0518D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.27
#F0518D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0518D
6.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0518D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0518D | 1.00 | 3.35 | 6.27 | 6.27 |
| #FFFFFF | 3.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#71798F
Deuteranopia (green-blind)
#9C9889
Tritanopia (blue-blind)
#FF3E69
Achromatopsia (no color)
#8C8C8C
Design tokens & code
CSS
--color: #f0518d; /* rgb */ color: rgb(240, 81, 141); /* oklch */ color: oklch(66.7% 0.200 1.0);
Tailwind
colors: {
custom: {
50: '#fa8bae',
500: '#f0518d',
950: '#000000',
},
}SCSS
$custom: #f0518d; $custom-light: #fa8bae; $custom-dark: #000000;
JSON
{
"hex": "#f0518d",
"rgb": {
"r": 240,
"g": 81,
"b": 141
},
"hsl": {
"h": 337.358,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.66708,
"c": 0.20007,
"h": 1
},
"luminance": 0.26333
}Semantic roles & 50–950 ramp
primary
#F0518D
secondary
#B2EBD5
accent
#E18E05
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F