#D04D42#D04D42
#D04D42 is a mid, vivid red. Relative luminance 0.191; OKLCH L 59.6% C 0.168 H 28.0°. Best body text is #000000 at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #D04D42 |
|---|---|
| RGB | rgb(208, 77, 66) |
| HSL | hsl(5, 60%, 54%) |
| HSV | hsv(5, 68%, 82%) |
| CMYK | cmyk(0%, 63%, 68.3%, 18.4%) |
| CIE-LAB | lab(50.82, 51.09, 34.03) |
| CIE-LCH | lch(50.82, 61.39, 33.67°) |
| OKLab | oklab(59.56% 0.1482 0.0789) |
| OKLCH | oklch(59.56% 0.168 28) |
| XYZ | xyz(29.6527, 19.1151, 7.2813) |
| Luminance | 0.1911 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 2.84
Pale Red
#D9544D
ΔE00 3.13
Dark Salmon
#C85A53
ΔE00 3.88
Faded Red
#D3494E
ΔE00 4.35
Reddish
#C44240
ΔE00 4.39
Pastel Red
#DB5856
ΔE00 5.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04D42 #42C5D0
analogous
#D0427E #D04D42 #D09442
triadic
#D04D42 #42D04D #4D42D0
tetradic
#D04D42 #7ED042 #42C5D0 #9442D0
square
#D04D42 #7ED042 #42C5D0 #9442D0
split-complementary
#D04D42 #42D094 #427ED0
monochromatic
#79251E #AA342A #D04D42 #DC7B73 #E8A9A4
Accessibility & contrast
On white
4.35
#D04D42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.82
#D04D42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04D42
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04D42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04D42 | 1.00 | 4.35 | 4.82 | 4.82 |
| #FFFFFF | 4.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.82 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.82 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706740
Deuteranopia (green-blind)
#91843E
Tritanopia (blue-blind)
#E42E4B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #d04d42; /* rgb */ color: rgb(208, 77, 66); /* oklch */ color: oklch(59.6% 0.168 28.0);
Tailwind
colors: {
custom: {
50: '#e68577',
500: '#d04d42',
950: '#000000',
},
}SCSS
$custom: #d04d42; $custom-light: #e68577; $custom-dark: #000000;
JSON
{
"hex": "#d04d42",
"rgb": {
"r": 208,
"g": 77,
"b": 66
},
"hsl": {
"h": 4.648,
"s": 60.169,
"l": 53.725
},
"oklch": {
"l": 0.5956,
"c": 0.16792,
"h": 28
},
"luminance": 0.19111
}Semantic roles & 50–950 ramp
primary
#D04D42
secondary
#99D1D5
accent
#D7E344
background
#FFF8F7
surface
#FEF0ED
border
#D6CBC8
text
#170B08
muted
#857C7B