#DC787E#DC787E
#DC787E is a light, vivid red. Relative luminance 0.302; OKLCH L 68.6% C 0.124 H 17.1°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #DC787E |
|---|---|
| RGB | rgb(220, 120, 126) |
| HSL | hsl(356, 59%, 67%) |
| HSV | hsv(356, 45%, 86%) |
| CMYK | cmyk(0%, 45.5%, 42.7%, 13.7%) |
| CIE-LAB | lab(61.79, 39.39, 14.24) |
| CIE-LCH | lch(61.79, 41.88, 19.88°) |
| OKLab | oklab(68.57% 0.1189 0.0366) |
| OKLCH | oklch(68.57% 0.124 17.1) |
| XYZ | xyz(39.9998, 30.1587, 23.4492) |
| Luminance | 0.3015 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 3.66
Lightcoral
#F08080
ΔE00 4.61
Ugly Pink
#CD7584
ΔE00 4.71
Pinkish
#D46A7E
ΔE00 5.33
Old Rose
#C87F89
ΔE00 5.39
Old Pink
#C77986
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC787E #78DCD6
analogous
#DC78B0 #DC787E #DCA478
triadic
#DC787E #7EDC78 #787EDC
tetradic
#DC787E #B0DC78 #78DCD6 #A478DC
square
#DC787E #B0DC78 #78DCD6 #A478DC
split-complementary
#DC787E #78DCA4 #78B0DC
monochromatic
#AD2D34 #CF4750 #DC787E #E9A9AC #F5D9DB
Accessibility & contrast
On white
2.99
#DC787E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#DC787E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC787E
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC787E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC787E | 1.00 | 2.99 | 7.03 | 7.03 |
| #FFFFFF | 2.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C897E
Deuteranopia (green-blind)
#A59D7C
Tritanopia (blue-blind)
#ED6C7B
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #dc787e; /* rgb */ color: rgb(220, 120, 126); /* oklch */ color: oklch(68.6% 0.124 17.1);
Tailwind
colors: {
custom: {
50: '#eaa1a3',
500: '#dc787e',
950: '#000000',
},
}SCSS
$custom: #dc787e; $custom-light: #eaa1a3; $custom-dark: #000000;
JSON
{
"hex": "#dc787e",
"rgb": {
"r": 220,
"g": 120,
"b": 126
},
"hsl": {
"h": 356.4,
"s": 58.824,
"l": 66.667
},
"oklch": {
"l": 0.68574,
"c": 0.12443,
"h": 17.1
},
"luminance": 0.30155
}Semantic roles & 50–950 ramp
primary
#DC787E
secondary
#C8E8E6
accent
#C6BC1F
background
#FEFAFA
surface
#FDF3F3
border
#D5CDCD
text
#170F0F
muted
#857F7F