#EF5798#EF5798
#EF5798 is a light, vivid pink. Relative luminance 0.274; OKLCH L 67.5% C 0.195 H 357.2°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).
Color values
| HEX | #EF5798 |
|---|---|
| RGB | rgb(239, 87, 152) |
| HSL | hsl(334, 83%, 64%) |
| HSV | hsv(334, 64%, 94%) |
| CMYK | cmyk(0%, 63.6%, 36.4%, 6.3%) |
| CIE-LAB | lab(59.38, 63.85, -3.89) |
| CIE-LCH | lch(59.38, 63.97, 356.51°) |
| OKLab | oklab(67.54% 0.1952 -0.0094) |
| OKLCH | oklch(67.54% 0.195 357.2) |
| XYZ | xyz(44.6750, 27.4392, 32.6433) |
| Luminance | 0.2743 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 2.78
Barbie Pink
#FE46A5
ΔE00 3.64
Strawberry
#FC5A8D
ΔE00 4.77
Blush
#DE5D83
ΔE00 5.29
Bubble Gum Pink
#FF69AF
ΔE00 5.37
Deeppink
#FF1493
ΔE00 5.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF5798 #57EFAE
analogous
#EF57E4 #EF5798 #EF6257
triadic
#EF5798 #98EF57 #5798EF
tetradic
#EF5798 #E4EF57 #57EFAE #6257EF
square
#EF5798 #E4EF57 #57EFAE #6257EF
split-complementary
#EF5798 #57EF62 #57E4EF
monochromatic
#BA125A #EA1F76 #EF5798 #F48FBA #FAC7DD
Accessibility & contrast
On white
3.24
#EF5798 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.49
#EF5798 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EF5798
6.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF5798 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF5798 | 1.00 | 3.24 | 6.49 | 6.49 |
| #FFFFFF | 3.24 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#727D9A
Deuteranopia (green-blind)
#9B9994
Tritanopia (blue-blind)
#FF4971
Achromatopsia (no color)
#8F8F8F
Design tokens & code
CSS
--color: #ef5798; /* rgb */ color: rgb(239, 87, 152); /* oklch */ color: oklch(67.5% 0.195 357.2);
Tailwind
colors: {
custom: {
50: '#f98fb6',
500: '#ef5798',
950: '#000000',
},
}SCSS
$custom: #ef5798; $custom-light: #f98fb6; $custom-dark: #000000;
JSON
{
"hex": "#ef5798",
"rgb": {
"r": 239,
"g": 87,
"b": 152
},
"hsl": {
"h": 334.342,
"s": 82.609,
"l": 63.922
},
"oklch": {
"l": 0.67539,
"c": 0.19542,
"h": 357.2
},
"luminance": 0.27434
}Semantic roles & 50–950 ramp
primary
#EF5798
secondary
#B6ECD5
accent
#DF8206
background
#FFF9FB
surface
#FFF1F6
border
#D7CBD0
text
#180D11
muted
#867E80