#F0517C#F0517C
#F0517C is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.2% C 0.196 H 7.9°. Best body text is #000000 at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #F0517C |
|---|---|
| RGB | rgb(240, 81, 124) |
| HSL | hsl(344, 84%, 63%) |
| HSV | hsv(344, 66%, 94%) |
| CMYK | cmyk(0%, 66.3%, 48.3%, 5.9%) |
| CIE-LAB | lab(57.91, 63.81, 10.40) |
| CIE-LCH | lch(57.91, 64.65, 9.26°) |
| OKLab | oklab(66.24% 0.1942 0.027) |
| OKLCH | oklch(66.24% 0.196 7.9) |
| XYZ | xyz(42.5192, 25.8708, 21.8194) |
| Luminance | 0.2586 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Pink
#FB5581
ΔE00 2.32
Blush
#DE5D83
ΔE00 3.68
Strawberry
#FC5A8D
ΔE00 3.89
Rosy Pink
#F6688E
ΔE00 4.82
Medium Pink
#F36196
ΔE00 5.57
Pinkish
#D46A7E
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0517C #51F0C5
analogous
#F051CB #F0517C #F07651
triadic
#F0517C #7CF051 #517CF0
tetradic
#F0517C #CBF051 #51F0C5 #7651F0
square
#F0517C #CBF051 #51F0C5 #7651F0
split-complementary
#F0517C #51F076 #51CBF0
monochromatic
#B7103D #EB1952 #F0517C #F589A6 #FAC2D1
Accessibility & contrast
On white
3.40
#F0517C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.17
#F0517C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0517C
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0517C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0517C | 1.00 | 3.40 | 6.17 | 6.17 |
| #FFFFFF | 3.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75777D
Deuteranopia (green-blind)
#9F9778
Tritanopia (blue-blind)
#FF3762
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #f0517c; /* rgb */ color: rgb(240, 81, 124); /* oklch */ color: oklch(66.2% 0.196 7.9);
Tailwind
colors: {
custom: {
50: '#fb8ba1',
500: '#f0517c',
950: '#000000',
},
}SCSS
$custom: #f0517c; $custom-light: #fb8ba1; $custom-dark: #000000;
JSON
{
"hex": "#f0517c",
"rgb": {
"r": 240,
"g": 81,
"b": 124
},
"hsl": {
"h": 343.774,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.66235,
"c": 0.19602,
"h": 7.9
},
"luminance": 0.25865
}Semantic roles & 50–950 ramp
primary
#F0517C
secondary
#B2EBDC
accent
#E1A505
background
#FFF9F9
surface
#FFF1F2
border
#D7CBCC
text
#190D0F
muted
#877E7E