#DC787D#DC787D
#DC787D is a light, vivid red. Relative luminance 0.301; OKLCH L 68.5% C 0.124 H 17.7°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).
Color values
| HEX | #DC787D |
|---|---|
| RGB | rgb(220, 120, 125) |
| HSL | hsl(357, 59%, 67%) |
| HSV | hsv(357, 45%, 86%) |
| CMYK | cmyk(0%, 45.5%, 43.2%, 13.7%) |
| CIE-LAB | lab(61.77, 39.28, 14.78) |
| CIE-LCH | lch(61.77, 41.97, 20.62°) |
| OKLab | oklab(68.55% 0.1186 0.0379) |
| OKLCH | oklch(68.55% 0.124 17.7) |
| XYZ | xyz(39.9356, 30.1331, 23.1111) |
| Luminance | 0.3013 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dirty Pink
#CA7B80
ΔE00 3.74
Lightcoral
#F08080
ΔE00 4.45
Ugly Pink
#CD7584
ΔE00 4.97
Pinkish
#D46A7E
ΔE00 5.58
Old Rose
#C87F89
ΔE00 5.58
Old Pink
#C77986
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#DC787D #78DCD7
analogous
#DC78AF #DC787D #DCA578
triadic
#DC787D #7DDC78 #787DDC
tetradic
#DC787D #AFDC78 #78DCD7 #A578DC
square
#DC787D #AFDC78 #78DCD7 #A578DC
split-complementary
#DC787D #78DCA5 #78AFDC
monochromatic
#AD2D33 #CF474E #DC787D #E9A9AC #F5D9DB
Accessibility & contrast
On white
2.99
#DC787D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.03
#DC787D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #DC787D
7.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##DC787D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##DC787D | 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)
#8D897D
Deuteranopia (green-blind)
#A59D7B
Tritanopia (blue-blind)
#ED6C7A
Achromatopsia (no color)
#959595
Design tokens & code
CSS
--color: #dc787d; /* rgb */ color: rgb(220, 120, 125); /* oklch */ color: oklch(68.5% 0.124 17.7);
Tailwind
colors: {
custom: {
50: '#eaa1a2',
500: '#dc787d',
950: '#000000',
},
}SCSS
$custom: #dc787d; $custom-light: #eaa1a2; $custom-dark: #000000;
JSON
{
"hex": "#dc787d",
"rgb": {
"r": 220,
"g": 120,
"b": 125
},
"hsl": {
"h": 357,
"s": 58.824,
"l": 66.667
},
"oklch": {
"l": 0.6855,
"c": 0.12445,
"h": 17.7
},
"luminance": 0.30129
}Semantic roles & 50–950 ramp
primary
#DC787D
secondary
#C8E8E6
accent
#C6BE1F
background
#FEFAF9
surface
#FDF3F2
border
#D5CDCC
text
#170F0F
muted
#857F7E