#EF5F97#EF5F97
#EF5F97 is a light, vivid pink. Relative luminance 0.288; OKLCH L 68.4% C 0.184 H 359.0°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #EF5F97 |
|---|---|
| RGB | rgb(239, 95, 151) |
| HSL | hsl(337, 82%, 65%) |
| HSV | hsv(337, 60%, 94%) |
| CMYK | cmyk(0%, 60.3%, 36.8%, 6.3%) |
| CIE-LAB | lab(60.58, 60.40, -1.54) |
| CIE-LCH | lch(60.58, 60.42, 358.54°) |
| OKLab | oklab(68.42% 0.1844 -0.0033) |
| OKLCH | oklch(68.42% 0.184 359) |
| XYZ | xyz(45.2774, 28.7745, 32.4418) |
| Luminance | 0.2877 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Medium Pink
#F36196
ΔE00 1.20
Strawberry
#FC5A8D
ΔE00 3.69
Palevioletred
#DB7093
ΔE00 4.49
Rosy Pink
#F6688E
ΔE00 4.61
Blush
#DE5D83
ΔE00 4.73
Barbie Pink
#FE46A5
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF5F97 #5FEFB7
analogous
#EF5FDF #EF5F97 #EF6F5F
triadic
#EF5F97 #97EF5F #5F97EF
tetradic
#EF5F97 #DFEF5F #5FEFB7 #6F5FEF
square
#EF5F97 #DFEF5F #5FEFB7 #6F5FEF
split-complementary
#EF5F97 #5FEF6F #5FDFEF
monochromatic
#C01357 #E92773 #EF5F97 #F597BB #FACEDF
Accessibility & contrast
On white
3.11
#EF5F97 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.75
#EF5F97 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #EF5F97
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF5F97 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF5F97 | 1.00 | 3.11 | 6.75 | 6.75 |
| #FFFFFF | 3.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#788199
Deuteranopia (green-blind)
#9F9C94
Tritanopia (blue-blind)
#FF5275
Achromatopsia (no color)
#929292
Design tokens & code
CSS
--color: #ef5f97; /* rgb */ color: rgb(239, 95, 151); /* oklch */ color: oklch(68.4% 0.184 359.0);
Tailwind
colors: {
custom: {
50: '#f993b5',
500: '#ef5f97',
950: '#000000',
},
}SCSS
$custom: #ef5f97; $custom-light: #f993b5; $custom-dark: #000000;
JSON
{
"hex": "#ef5f97",
"rgb": {
"r": 239,
"g": 95,
"b": 151
},
"hsl": {
"h": 336.667,
"s": 81.818,
"l": 65.49
},
"oklch": {
"l": 0.68422,
"c": 0.18443,
"h": 359
},
"luminance": 0.2877
}Semantic roles & 50–950 ramp
primary
#EF5F97
secondary
#BDEDDA
accent
#DE8B07
background
#FFF9FB
surface
#FFF2F6
border
#D7CCD0
text
#180E11
muted
#867E80