#E787AF#E787AF
#E787AF is a light, vivid pink. Relative luminance 0.374; OKLCH L 73.7% C 0.126 H 354.2°. Best body text is #000000 at 8.48:1 contrast (WCAG AA passes).
Color values
| HEX | #E787AF |
|---|---|
| RGB | rgb(231, 135, 175) |
| HSL | hsl(335, 67%, 72%) |
| HSV | hsv(335, 42%, 91%) |
| CMYK | cmyk(0%, 41.6%, 24.2%, 9.4%) |
| CIE-LAB | lab(67.59, 41.60, -5.05) |
| CIE-LCH | lch(67.59, 41.91, 353.08°) |
| OKLab | oklab(73.69% 0.1252 -0.0128) |
| OKLCH | oklch(73.69% 0.126 354.2) |
| XYZ | xyz(49.3581, 37.4156, 45.1714) |
| Luminance | 0.3741 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 4.54
Pinky
#FC86AA
ΔE00 4.57
Dull Pink
#D5869D
ΔE00 4.93
Pink (survey)
#FF81C0
ΔE00 5.04
Carnation Pink
#FF7FA7
ΔE00 5.16
Rosa
#FE86A4
ΔE00 6.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E787AF #87E7BF
analogous
#E787DF #E787AF #E78F87
triadic
#E787AF #AFE787 #87AFE7
tetradic
#E787AF #DFE787 #87E7BF #8F87E7
square
#E787AF #DFE787 #87E7BF #8F87E7
split-complementary
#E787AF #87E78F #87DFE7
monochromatic
#CB296C #DD548D #E787AF #F1BAD1 #FAE5EE
Accessibility & contrast
On white
2.48
#E787AF on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.48
#E787AF on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E787AF
8.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E787AF | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E787AF | 1.00 | 2.48 | 8.48 | 8.48 |
| #FFFFFF | 2.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#929AB0
Deuteranopia (green-blind)
#AAABAD
Tritanopia (blue-blind)
#F48395
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #e787af; /* rgb */ color: rgb(231, 135, 175); /* oklch */ color: oklch(73.7% 0.126 354.2);
Tailwind
colors: {
custom: {
50: '#f1acc6',
500: '#e787af',
950: '#000000',
},
}SCSS
$custom: #e787af; $custom-light: #f1acc6; $custom-dark: #000000;
JSON
{
"hex": "#e787af",
"rgb": {
"r": 231,
"g": 135,
"b": 175
},
"hsl": {
"h": 335,
"s": 66.667,
"l": 71.765
},
"oklch": {
"l": 0.7369,
"c": 0.1258,
"h": 354.2
},
"luminance": 0.37412
}Semantic roles & 50–950 ramp
primary
#E787AF
secondary
#D9F1E7
accent
#CF8217
background
#FEFAFC
surface
#FDF4F8
border
#D5CED1
text
#171013
muted
#857F82