#D786C2#D786C2
#D786C2 is a light, vivid pink. Relative luminance 0.354; OKLCH L 72.3% C 0.125 H 337.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #D786C2 |
|---|---|
| RGB | rgb(215, 134, 194) |
| HSL | hsl(316, 50%, 68%) |
| HSV | hsv(316, 38%, 84%) |
| CMYK | cmyk(0%, 37.7%, 9.8%, 15.7%) |
| CIE-LAB | lab(66.05, 39.69, -18.21) |
| CIE-LCH | lch(66.05, 43.67, 335.35°) |
| OKLab | oklab(72.32% 0.1148 -0.0488) |
| OKLCH | oklch(72.32% 0.125 337) |
| XYZ | xyz(46.2869, 35.3948, 55.4223) |
| Luminance | 0.3539 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Lavender Pink
#DD85D7
ΔE00 4.40
Orchid (survey)
#C875C4
ΔE00 6.06
Bubblegum Pink
#FE83CC
ΔE00 6.54
Plum
#DDA0DD
ΔE00 6.99
Pale Magenta
#D767AD
ΔE00 7.39
Pink (survey)
#FF81C0
ΔE00 7.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D786C2 #86D79B
analogous
#C486D7 #D786C2 #D78699
triadic
#D786C2 #C2D786 #86C2D7
tetradic
#D786C2 #D7C486 #86D79B #8699D7
square
#D786C2 #D7C486 #86D79B #8699D7
split-complementary
#D786C2 #99D786 #86D7C4
monochromatic
#AA388D #C858AB #D786C2 #E6B4D9 #F5E2F0
Accessibility & contrast
On white
2.60
#D786C2 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#D786C2 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #D786C2
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D786C2 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D786C2 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8799C4
Deuteranopia (green-blind)
#9CA5C0
Tritanopia (blue-blind)
#DF899C
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #d786c2; /* rgb */ color: rgb(215, 134, 194); /* oklch */ color: oklch(72.3% 0.125 337.0);
Tailwind
colors: {
custom: {
50: '#e4abd4',
500: '#d786c2',
950: '#000000',
},
}SCSS
$custom: #d786c2; $custom-light: #e4abd4; $custom-dark: #000000;
JSON
{
"hex": "#d786c2",
"rgb": {
"r": 215,
"g": 134,
"b": 194
},
"hsl": {
"h": 315.556,
"s": 50.311,
"l": 68.431
},
"oklch": {
"l": 0.72315,
"c": 0.12474,
"h": 337
},
"luminance": 0.35392
}Semantic roles & 50–950 ramp
primary
#D786C2
secondary
#D0E9D7
accent
#BE4F28
background
#FEFAFD
surface
#FCF4FA
border
#D5CED3
text
#161014
muted
#847F83