#EF97AC#EF97AC
#EF97AC is a light, moderate red. Relative luminance 0.435; OKLCH L 77.1% C 0.108 H 4.4°. Best body text is #000000 at 9.69:1 contrast (WCAG AA passes).
Color values
| HEX | #EF97AC |
|---|---|
| RGB | rgb(239, 151, 172) |
| HSL | hsl(346, 73%, 76%) |
| HSV | hsv(346, 37%, 94%) |
| CMYK | cmyk(0%, 36.8%, 28%, 6.3%) |
| CIE-LAB | lab(71.87, 35.65, 3.01) |
| CIE-LCH | lch(71.87, 35.78, 4.83°) |
| OKLab | oklab(77.13% 0.1079 0.0084) |
| OKLCH | oklch(77.13% 0.108 4.4) |
| XYZ | xyz(54.1112, 43.4663, 44.5615) |
| Luminance | 0.4346 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pig Pink
#E78EA5
ΔE00 2.44
Faded Pink
#DE9DAC
ΔE00 4.01
Rosa
#FE86A4
ΔE00 4.74
Pinky
#FC86AA
ΔE00 4.84
Rose Pink
#F7879A
ΔE00 4.90
Dull Pink
#D5869D
ΔE00 5.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF97AC #97EFDA
analogous
#EF97D8 #EF97AC #EFAE97
triadic
#EF97AC #ACEF97 #97ACEF
tetradic
#EF97AC #D8EF97 #97EFDA #AE97EF
square
#EF97AC #D8EF97 #97EFDA #AE97EF
split-complementary
#EF97AC #97EFAE #97D8EF
monochromatic
#DF2D57 #E76282 #EF97AC #F7CCD6 #FBE4EA
Accessibility & contrast
On white
2.17
#EF97AC on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.69
#EF97AC on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF97AC
9.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF97AC | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF97AC | 1.00 | 2.17 | 9.69 | 9.69 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A4A6AD
Deuteranopia (green-blind)
#BAB6AA
Tritanopia (blue-blind)
#FD919E
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #ef97ac; /* rgb */ color: rgb(239, 151, 172); /* oklch */ color: oklch(77.1% 0.108 4.4);
Tailwind
colors: {
custom: {
50: '#f6b6c4',
500: '#ef97ac',
950: '#000000',
},
}SCSS
$custom: #ef97ac; $custom-light: #f6b6c4; $custom-dark: #000000;
JSON
{
"hex": "#ef97ac",
"rgb": {
"r": 239,
"g": 151,
"b": 172
},
"hsl": {
"h": 345.682,
"s": 73.333,
"l": 76.471
},
"oklch": {
"l": 0.77128,
"c": 0.10819,
"h": 4.4
},
"luminance": 0.43462
}Semantic roles & 50–950 ramp
primary
#EF97AC
secondary
#D8F3EC
accent
#D5A610
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171112
muted
#858081