#F0517F#F0517F
#F0517F is a light, vivid pink. Relative luminance 0.259; OKLCH L 66.3% C 0.197 H 6.7°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).
Color values
| HEX | #F0517F |
|---|---|
| RGB | rgb(240, 81, 127) |
| HSL | hsl(343, 84%, 63%) |
| HSV | hsv(343, 66%, 94%) |
| CMYK | cmyk(0%, 66.3%, 47.1%, 5.9%) |
| CIE-LAB | lab(57.99, 64.07, 8.74) |
| CIE-LCH | lch(57.99, 64.66, 7.77°) |
| OKLab | oklab(66.31% 0.1952 0.0229) |
| OKLCH | oklch(66.31% 0.197 6.7) |
| XYZ | xyz(42.7118, 25.9479, 22.8338) |
| Luminance | 0.2594 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Warm Pink
#FB5581
ΔE00 2.47
Blush
#DE5D83
ΔE00 3.32
Strawberry
#FC5A8D
ΔE00 3.46
Rosy Pink
#F6688E
ΔE00 4.63
Medium Pink
#F36196
ΔE00 4.93
Darkish Pink
#DA467D
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0517F #51F0C2
analogous
#F051CE #F0517F #F07351
triadic
#F0517F #7FF051 #517FF0
tetradic
#F0517F #CEF051 #51F0C2 #7351F0
square
#F0517F #CEF051 #51F0C2 #7351F0
split-complementary
#F0517F #51F073 #51CEF0
monochromatic
#B71040 #EB1956 #F0517F #F589A8 #FAC2D2
Accessibility & contrast
On white
3.39
#F0517F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.19
#F0517F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0517F
6.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0517F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0517F | 1.00 | 3.39 | 6.19 | 6.19 |
| #FFFFFF | 3.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#747780
Deuteranopia (green-blind)
#9E977B
Tritanopia (blue-blind)
#FF3863
Achromatopsia (no color)
#8B8B8B
Design tokens & code
CSS
--color: #f0517f; /* rgb */ color: rgb(240, 81, 127); /* oklch */ color: oklch(66.3% 0.197 6.7);
Tailwind
colors: {
custom: {
50: '#fb8ba3',
500: '#f0517f',
950: '#000000',
},
}SCSS
$custom: #f0517f; $custom-light: #fb8ba3; $custom-dark: #000000;
JSON
{
"hex": "#f0517f",
"rgb": {
"r": 240,
"g": 81,
"b": 127
},
"hsl": {
"h": 342.642,
"s": 84.127,
"l": 62.941
},
"oklch": {
"l": 0.66313,
"c": 0.19657,
"h": 6.7
},
"luminance": 0.25942
}Semantic roles & 50–950 ramp
primary
#F0517F
secondary
#B2EBDA
accent
#E1A105
background
#FFF9FA
surface
#FFF1F3
border
#D7CBCD
text
#190D0F
muted
#877E7F