#D04740#D04740
#D04740 is a mid, vivid red. Relative luminance 0.183; OKLCH L 58.8% C 0.174 H 26.8°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).
Color values
| HEX | #D04740 |
|---|---|
| RGB | rgb(208, 71, 64) |
| HSL | hsl(3, 61%, 53%) |
| HSV | hsv(3, 69%, 82%) |
| CMYK | cmyk(0%, 65.9%, 69.2%, 18.4%) |
| CIE-LAB | lab(49.85, 53.53, 34.01) |
| CIE-LCH | lch(49.85, 63.43, 32.43°) |
| OKLab | oklab(58.82% 0.1555 0.0785) |
| OKLCH | oklch(58.82% 0.174 26.8) |
| XYZ | xyz(29.1942, 18.2907, 6.8427) |
| Luminance | 0.1829 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Coral
#CF524E
ΔE00 3.05
Reddish
#C44240
ΔE00 3.30
Faded Red
#D3494E
ΔE00 3.81
Pale Red
#D9544D
ΔE00 3.89
Dark Salmon
#C85A53
ΔE00 4.47
Dull Red
#BB3F3F
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04740 #40C9D0
analogous
#D04081 #D04740 #D08F40
triadic
#D04740 #40D047 #4740D0
tetradic
#D04740 #81D040 #40C9D0 #8F40D0
square
#D04740 #81D040 #40C9D0 #8F40D0
split-complementary
#D04740 #40D08F #4081D0
monochromatic
#78221E #A9302A #D04740 #DC7671 #E8A6A2
Accessibility & contrast
On white
4.51
#D04740 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.66
#D04740 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04740
4.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04740 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04740 | 1.00 | 4.51 | 4.66 | 4.66 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6D643E
Deuteranopia (green-blind)
#8F823C
Tritanopia (blue-blind)
#E42347
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d04740; /* rgb */ color: rgb(208, 71, 64); /* oklch */ color: oklch(58.8% 0.174 26.8);
Tailwind
colors: {
custom: {
50: '#e68175',
500: '#d04740',
950: '#000000',
},
}SCSS
$custom: #d04740; $custom-light: #e68175; $custom-dark: #000000;
JSON
{
"hex": "#d04740",
"rgb": {
"r": 208,
"g": 71,
"b": 64
},
"hsl": {
"h": 2.917,
"s": 60.504,
"l": 53.333
},
"oklch": {
"l": 0.58819,
"c": 0.17421,
"h": 26.8
},
"luminance": 0.18287
}Semantic roles & 50–950 ramp
primary
#D04740
secondary
#97D2D5
accent
#DCE444
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170B08
muted
#857C7B