#F0578B#F0578B
#F0578B is a light, vivid pink. Relative luminance 0.272; OKLCH L 67.3% C 0.192 H 2.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #F0578B |
|---|---|
| RGB | rgb(240, 87, 139) |
| HSL | hsl(340, 84%, 64%) |
| HSV | hsv(340, 64%, 94%) |
| CMYK | cmyk(0%, 63.7%, 42.1%, 5.9%) |
| CIE-LAB | lab(59.17, 62.80, 3.40) |
| CIE-LCH | lch(59.17, 62.90, 3.10°) |
| OKLab | oklab(67.29% 0.1919 0.0095) |
| OKLCH | oklch(67.29% 0.192 2.8) |
| XYZ | xyz(44.0066, 27.2110, 27.3559) |
| Luminance | 0.2721 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Strawberry
#FC5A8D
ΔE00 2.49
Medium Pink
#F36196
ΔE00 2.49
Blush
#DE5D83
ΔE00 3.23
Warm Pink
#FB5581
ΔE00 3.75
Rosy Pink
#F6688E
ΔE00 3.98
Palevioletred
#DB7093
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0578B #57F0BC
analogous
#F057D8 #F0578B #F07057
triadic
#F0578B #8BF057 #578BF0
tetradic
#F0578B #D8F057 #57F0BC #7057F0
square
#F0578B #D8F057 #57F0BC #7057F0
split-complementary
#F0578B #57F070 #57D8F0
monochromatic
#BC114B #EB1F64 #F0578B #F58FB2 #FAC7D9
Accessibility & contrast
On white
3.26
#F0578B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.44
#F0578B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #F0578B
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0578B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0578B | 1.00 | 3.26 | 6.44 | 6.44 |
| #FFFFFF | 3.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#767C8C
Deuteranopia (green-blind)
#9E9987
Tritanopia (blue-blind)
#FF446B
Achromatopsia (no color)
#8E8E8E
Design tokens & code
CSS
--color: #f0578b; /* rgb */ color: rgb(240, 87, 139); /* oklch */ color: oklch(67.3% 0.192 2.8);
Tailwind
colors: {
custom: {
50: '#fa8eac',
500: '#f0578b',
950: '#000000',
},
}SCSS
$custom: #f0578b; $custom-light: #fa8eac; $custom-dark: #000000;
JSON
{
"hex": "#f0578b",
"rgb": {
"r": 240,
"g": 87,
"b": 139
},
"hsl": {
"h": 339.608,
"s": 83.607,
"l": 64.118
},
"oklch": {
"l": 0.67292,
"c": 0.1921,
"h": 2.8
},
"luminance": 0.27206
}Semantic roles & 50–950 ramp
primary
#F0578B
secondary
#B7ECDA
accent
#E09605
background
#FFF9FA
surface
#FFF1F4
border
#D7CBCE
text
#180D10
muted
#867E7F