#D04942#D04942
#D04942 is a mid, vivid red. Relative luminance 0.186; OKLCH L 59.1% C 0.172 H 26.7°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #D04942 |
|---|---|
| RGB | rgb(208, 73, 66) |
| HSL | hsl(3, 60%, 54%) |
| HSV | hsv(3, 68%, 82%) |
| CMYK | cmyk(0%, 64.9%, 68.3%, 18.4%) |
| CIE-LAB | lab(50.18, 52.80, 33.27) |
| CIE-LCH | lch(50.18, 62.41, 32.21°) |
| OKLab | oklab(59.08% 0.1536 0.0772) |
| OKLCH | oklch(59.08% 0.172 26.7) |
| XYZ | xyz(29.3814, 18.5725, 7.1909) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 2.62
Reddish
#C44240
ΔE00 3.48
Pale Red
#D9544D
ΔE00 3.49
Faded Red
#D3494E
ΔE00 3.55
Dark Salmon
#C85A53
ΔE00 4.05
Pastel Red
#DB5856
ΔE00 5.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04942 #42C9D0
analogous
#D04282 #D04942 #D09042
triadic
#D04942 #42D049 #4942D0
tetradic
#D04942 #82D042 #42C9D0 #9042D0
square
#D04942 #82D042 #42C9D0 #9042D0
split-complementary
#D04942 #42D090 #4282D0
monochromatic
#79231E #AA312A #D04942 #DC7873 #E8A7A4
Accessibility & contrast
On white
4.46
#D04942 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#D04942 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04942
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04942 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04942 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6540
Deuteranopia (green-blind)
#8F823E
Tritanopia (blue-blind)
#E42748
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d04942; /* rgb */ color: rgb(208, 73, 66); /* oklch */ color: oklch(59.1% 0.172 26.7);
Tailwind
colors: {
custom: {
50: '#e68276',
500: '#d04942',
950: '#000000',
},
}SCSS
$custom: #d04942; $custom-light: #e68276; $custom-dark: #000000;
JSON
{
"hex": "#d04942",
"rgb": {
"r": 208,
"g": 73,
"b": 66
},
"hsl": {
"h": 2.958,
"s": 60.169,
"l": 53.725
},
"oklch": {
"l": 0.59081,
"c": 0.17193,
"h": 26.7
},
"luminance": 0.18568
}Semantic roles & 50–950 ramp
primary
#D04942
secondary
#99D2D5
accent
#DBE344
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B