#E786A7#E786A7
#E786A7 is a light, vivid pink. Relative luminance 0.368; OKLCH L 73.3% C 0.124 H 358.8°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #E786A7 |
|---|---|
| RGB | rgb(231, 134, 167) |
| HSL | hsl(340, 67%, 72%) |
| HSV | hsv(340, 42%, 91%) |
| CMYK | cmyk(0%, 42%, 27.7%, 9.4%) |
| CIE-LAB | lab(67.15, 41.02, -1.19) |
| CIE-LCH | lch(67.15, 41.04, 358.34°) |
| OKLab | oklab(73.28% 0.124 -0.0026) |
| OKLCH | oklch(73.28% 0.124 358.8) |
| XYZ | xyz(48.4567, 36.8329, 41.1090) |
| Luminance | 0.3683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Pig Pink
#E78EA5
ΔE00 2.89
Pinky
#FC86AA
ΔE00 3.62
Dull Pink
#D5869D
ΔE00 3.68
Carnation Pink
#FF7FA7
ΔE00 4.28
Rosa
#FE86A4
ΔE00 4.68
Palevioletred
#DB7093
ΔE00 5.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786A7 #86E7C6
analogous
#E786D8 #E786A7 #E79686
triadic
#E786A7 #A7E786 #86A7E7
tetradic
#E786A7 #D8E786 #86E7C6 #9686E7
square
#E786A7 #D8E786 #86E7C6 #9686E7
split-complementary
#E786A7 #86E796 #86D8E7
monochromatic
#CA285F #DD5382 #E786A7 #F1B9CC #FAE5EC
Accessibility & contrast
On white
2.51
#E786A7 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.37
#E786A7 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786A7
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786A7 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786A7 | 1.00 | 2.51 | 8.37 | 8.37 |
| #FFFFFF | 2.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#9399A8
Deuteranopia (green-blind)
#ACAAA5
Tritanopia (blue-blind)
#F58092
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #e786a7; /* rgb */ color: rgb(231, 134, 167); /* oklch */ color: oklch(73.3% 0.124 358.8);
Tailwind
colors: {
custom: {
50: '#f1abc1',
500: '#e786a7',
950: '#000000',
},
}SCSS
$custom: #e786a7; $custom-light: #f1abc1; $custom-dark: #000000;
JSON
{
"hex": "#e786a7",
"rgb": {
"r": 231,
"g": 134,
"b": 167
},
"hsl": {
"h": 339.588,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.73284,
"c": 0.12401,
"h": 358.8
},
"luminance": 0.36829
}Semantic roles & 50–950 ramp
primary
#E786A7
secondary
#D8F1E8
accent
#CF9017
background
#FFFAFB
surface
#FEF4F7
border
#D6CED0
text
#171012
muted
#857F81