#E786D2#E786D2
#E786D2 is a light, vivid pink. Relative luminance 0.387; OKLCH L 74.8% C 0.151 H 335.5°. Best body text is #000000 at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #E786D2 |
|---|---|
| RGB | rgb(231, 134, 210) |
| HSL | hsl(313, 67%, 72%) |
| HSV | hsv(313, 42%, 91%) |
| CMYK | cmyk(0%, 42%, 9.1%, 9.4%) |
| CIE-LAB | lab(68.53, 47.48, -23.20) |
| CIE-LCH | lch(68.53, 52.85, 333.96°) |
| OKLab | oklab(74.78% 0.137 -0.0625) |
| OKLCH | oklch(74.78% 0.151 335.5) |
| XYZ | xyz(53.1129, 38.6953, 65.6317) |
| Luminance | 0.3869 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 2.64
Bubblegum Pink
#FE83CC
ΔE00 4.72
Violet (CSS)
#EE82EE
ΔE00 5.30
Purply Pink
#F075E6
ΔE00 5.46
Orchid
#DA70D6
ΔE00 6.41
Plum
#DDA0DD
ΔE00 6.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#E786D2 #86E79B
analogous
#CC86E7 #E786D2 #E786A2
triadic
#E786D2 #D2E786 #86D2E7
tetradic
#E786D2 #E7CC86 #86E79B #86A2E7
square
#E786D2 #E7CC86 #86E79B #86A2E7
split-complementary
#E786D2 #A2E786 #86E7CC
monochromatic
#CA28A7 #DD53BF #E786D2 #F1B9E5 #FAE5F6
Accessibility & contrast
On white
2.40
#E786D2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.74
#E786D2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #E786D2
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##E786D2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##E786D2 | 1.00 | 2.40 | 8.74 | 8.74 |
| #FFFFFF | 2.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#879ED5
Deuteranopia (green-blind)
#A0ACCF
Tritanopia (blue-blind)
#F08AA3
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #e786d2; /* rgb */ color: rgb(231, 134, 210); /* oklch */ color: oklch(74.8% 0.151 335.5);
Tailwind
colors: {
custom: {
50: '#f0abe0',
500: '#e786d2',
950: '#000000',
},
}SCSS
$custom: #e786d2; $custom-light: #f0abe0; $custom-dark: #000000;
JSON
{
"hex": "#e786d2",
"rgb": {
"r": 231,
"g": 134,
"b": 210
},
"hsl": {
"h": 312.99,
"s": 66.897,
"l": 71.569
},
"oklch": {
"l": 0.74779,
"c": 0.15056,
"h": 335.5
},
"luminance": 0.38692
}Semantic roles & 50–950 ramp
primary
#E786D2
secondary
#D8F1DD
accent
#CF3F17
background
#FEFAFD
surface
#FDF4FB
border
#D5CED4
text
#171015
muted
#857F83