#EF97B2#EF97B2
#EF97B2 is a light, moderate pink. Relative luminance 0.437; OKLCH L 77.3% C 0.110 H 0.1°. Best body text is #000000 at 9.74:1 contrast (WCAG AA passes).
Color values
| HEX | #EF97B2 |
|---|---|
| RGB | rgb(239, 151, 178) |
| HSL | hsl(342, 73%, 76%) |
| HSV | hsv(342, 37%, 94%) |
| CMYK | cmyk(0%, 36.8%, 25.5%, 6.3%) |
| CIE-LAB | lab(72.03, 36.46, -0.09) |
| CIE-LCH | lch(72.03, 36.46, 359.86°) |
| OKLab | oklab(77.3% 0.11 0.0003) |
| OKLCH | oklch(77.3% 0.11 0.1) |
| XYZ | xyz(54.7004, 43.7020, 47.6651) |
| Luminance | 0.4370 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 2.86
Faded Pink
#DE9DAC
ΔE00 4.52
Pinky
#FC86AA
ΔE00 4.54
Rosa
#FE86A4
ΔE00 5.13
Dull Pink
#D5869D
ΔE00 5.95
Carnation Pink
#FF7FA7
ΔE00 5.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#EF97B2 #97EFD4
analogous
#EF97DE #EF97B2 #EFA897
triadic
#EF97B2 #B2EF97 #97B2EF
tetradic
#EF97B2 #DEEF97 #97EFD4 #A897EF
square
#EF97B2 #DEEF97 #97EFD4 #A897EF
split-complementary
#EF97B2 #97EFA8 #97DEEF
monochromatic
#DF2D63 #E7628B #EF97B2 #F7CCD9 #FBE4EB
Accessibility & contrast
On white
2.16
#EF97B2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.74
#EF97B2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #EF97B2
9.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##EF97B2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##EF97B2 | 1.00 | 2.16 | 9.74 | 9.74 |
| #FFFFFF | 2.16 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A3A7B3
Deuteranopia (green-blind)
#B8B7B0
Tritanopia (blue-blind)
#FD92A0
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #ef97b2; /* rgb */ color: rgb(239, 151, 178); /* oklch */ color: oklch(77.3% 0.110 0.1);
Tailwind
colors: {
custom: {
50: '#f6b7c9',
500: '#ef97b2',
950: '#000000',
},
}SCSS
$custom: #ef97b2; $custom-light: #f6b7c9; $custom-dark: #000000;
JSON
{
"hex": "#ef97b2",
"rgb": {
"r": 239,
"g": 151,
"b": 178
},
"hsl": {
"h": 341.591,
"s": 73.333,
"l": 76.471
},
"oklch": {
"l": 0.77301,
"c": 0.11002,
"h": 0.1
},
"luminance": 0.43698
}Semantic roles & 50–950 ramp
primary
#EF97B2
secondary
#D8F3EB
accent
#D59910
background
#FFFBFC
surface
#FFF6F8
border
#D7D0D1
text
#171113
muted
#858082