#D03F40#D03F40
#D03F40 is a mid, vivid red. Relative luminance 0.173; OKLCH L 58.0% C 0.182 H 24.5°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #D03F40 |
|---|---|
| RGB | rgb(208, 63, 64) |
| HSL | hsl(360, 61%, 53%) |
| HSV | hsv(360, 70%, 82%) |
| CMYK | cmyk(0%, 69.7%, 69.2%, 18.4%) |
| CIE-LAB | lab(48.68, 56.70, 32.63) |
| CIE-LCH | lch(48.68, 65.42, 29.92°) |
| OKLab | oklab(57.95% 0.1655 0.0755) |
| OKLCH | oklch(57.95% 0.182 24.5) |
| XYZ | xyz(28.7185, 17.3393, 6.6841) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 2.25
Faded Red
#D3494E
ΔE00 3.23
Dark Coral
#CF524E
ΔE00 3.79
Dull Red
#BB3F3F
ΔE00 4.32
Crimson
#DC143C
ΔE00 4.60
Pale Red
#D9544D
ΔE00 5.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D03F40 #3FD0CF
analogous
#D03F88 #D03F40 #D0863F
triadic
#D03F40 #40D03F #3F40D0
tetradic
#D03F40 #88D03F #3FD0CF #863FD0
square
#D03F40 #88D03F #3FD0CF #863FD0
split-complementary
#D03F40 #3FD086 #3F88D0
monochromatic
#771D1E #A9292A #D03F40 #DC7071 #E8A1A2
Accessibility & contrast
On white
4.70
#D03F40 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#D03F40 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D03F40
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D03F40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D03F40 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68603F
Deuteranopia (green-blind)
#8C7F3B
Tritanopia (blue-blind)
#E40E41
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #d03f40; /* rgb */ color: rgb(208, 63, 64); /* oklch */ color: oklch(58.0% 0.182 24.5);
Tailwind
colors: {
custom: {
50: '#e67d75',
500: '#d03f40',
950: '#000000',
},
}SCSS
$custom: #d03f40; $custom-light: #e67d75; $custom-dark: #000000;
JSON
{
"hex": "#d03f40",
"rgb": {
"r": 208,
"g": 63,
"b": 64
},
"hsl": {
"h": 359.586,
"s": 60.669,
"l": 53.137
},
"oklch": {
"l": 0.5795,
"c": 0.18191,
"h": 24.5
},
"luminance": 0.17335
}Semantic roles & 50–950 ramp
primary
#D03F40
secondary
#96D5D4
accent
#E4E344
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#170A08
muted
#857C7B