#E787AB#E787AB
#E787AB is a light, vivid pink. Relative luminance 0.373; OKLCH L 73.6% C 0.124 H 356.6°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).
Color values
| HEX | #E787AB |
|---|---|
| RGB | rgb(231, 135, 171) |
| HSL | hsl(338, 67%, 72%) |
| HSV | hsv(338, 42%, 91%) |
| CMYK | cmyk(0%, 41.6%, 26%, 9.4%) |
| CIE-LAB | lab(67.47, 41.05, -2.97) |
| CIE-LCH | lch(67.47, 41.15, 355.86°) |
| OKLab | oklab(73.56% 0.1238 -0.0073) |
| OKLCH | oklch(73.56% 0.124 356.6) |
| XYZ | xyz(48.9710, 37.2608, 43.1330) |
| Luminance | 0.3726 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 3.54
Pinky
#FC86AA
ΔE00 3.97
Dull Pink
#D5869D
ΔE00 4.18
Carnation Pink
#FF7FA7
ΔE00 4.64
Rosa
#FE86A4
ΔE00 5.29
Pink (survey)
#FF81C0
ΔE00 5.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E787AB #87E7C3
analogous
#E787DB #E787AB #E79387
triadic
#E787AB #ABE787 #87ABE7
tetradic
#E787AB #DBE787 #87E7C3 #9387E7
square
#E787AB #DBE787 #87E7C3 #9387E7
split-complementary
#E787AB #87E793 #87DBE7
monochromatic
#CB2966 #DD5487 #E787AB #F1BACF #FAE5ED
Accessibility & contrast
On white
2.48
#E787AB on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.45
#E787AB on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E787AB
8.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E787AB | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E787AB | 1.00 | 2.48 | 8.45 | 8.45 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#939AAC
Deuteranopia (green-blind)
#ABABA9
Tritanopia (blue-blind)
#F58294
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #e787ab; /* rgb */ color: rgb(231, 135, 171); /* oklch */ color: oklch(73.6% 0.124 356.6);
Tailwind
colors: {
custom: {
50: '#f1acc4',
500: '#e787ab',
950: '#000000',
},
}SCSS
$custom: #e787ab; $custom-light: #f1acc4; $custom-dark: #000000;
JSON
{
"hex": "#e787ab",
"rgb": {
"r": 231,
"g": 135,
"b": 171
},
"hsl": {
"h": 337.5,
"s": 66.667,
"l": 71.765
},
"oklch": {
"l": 0.73564,
"c": 0.12401,
"h": 356.6
},
"luminance": 0.37257
}Semantic roles & 50–950 ramp
primary
#E787AB
secondary
#D9F1E8
accent
#CF8A17
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#171012
muted
#857F81