#D0402D#D0402D
#D0402D is a mid, vivid red. Relative luminance 0.173; OKLCH L 57.8% C 0.184 H 30.8°. Best body text is #FFFFFF at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #D0402D |
|---|---|
| RGB | rgb(208, 64, 45) |
| HSL | hsl(7, 64%, 50%) |
| HSV | hsv(7, 78%, 82%) |
| CMYK | cmyk(0%, 69.2%, 78.4%, 18.4%) |
| CIE-LAB | lab(48.60, 55.52, 43.14) |
| CIE-LCH | lch(48.60, 70.31, 37.85°) |
| OKLab | oklab(57.81% 0.158 0.094) |
| OKLCH | oklch(57.81% 0.184 30.8) |
| XYZ | xyz(28.3227, 17.2704, 4.3243) |
| Luminance | 0.1727 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red (survey)
#E50000
ΔE00 5.77
Reddish
#C44240
ΔE00 5.85
Tomato (survey)
#EF4026
ΔE00 6.53
Tomato Red
#EC2D01
ΔE00 6.94
Dark Coral
#CF524E
ΔE00 6.97
Cherry Red
#F7022A
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D0402D #2DBDD0
analogous
#D02D6B #D0402D #D0922D
triadic
#D0402D #2DD040 #402DD0
tetradic
#D0402D #6BD02D #2DBDD0 #922DD0
square
#D0402D #6BD02D #2DBDD0 #922DD0
split-complementary
#D0402D #2DD092 #2D6BD0
monochromatic
#6B2117 #9E3122 #D0402D #DC6D5E #E79A90
Accessibility & contrast
On white
4.72
#D0402D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.45
#D0402D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D0402D
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D0402D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D0402D | 1.00 | 4.72 | 4.45 | 4.72 |
| #FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#8E7F27
Tritanopia (blue-blind)
#E5073D
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #d0402d; /* rgb */ color: rgb(208, 64, 45); /* oklch */ color: oklch(57.8% 0.184 30.8);
Tailwind
colors: {
custom: {
50: '#e87d67',
500: '#d0402d',
950: '#000000',
},
}SCSS
$custom: #d0402d; $custom-light: #e87d67; $custom-dark: #000000;
JSON
{
"hex": "#d0402d",
"rgb": {
"r": 208,
"g": 64,
"b": 45
},
"hsl": {
"h": 6.994,
"s": 64.427,
"l": 49.608
},
"oklch": {
"l": 0.57814,
"c": 0.18384,
"h": 30.8
},
"luminance": 0.17266
}Semantic roles & 50–950 ramp
primary
#D0402D
secondary
#87C9D2
accent
#D4E740
background
#FFF8F6
surface
#FFEFEB
border
#D7CAC6
text
#180A06
muted
#867C7A