#D04542#D04542
#D04542 is a mid, vivid red. Relative luminance 0.181; OKLCH L 58.6% C 0.176 H 25.4°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #D04542 |
|---|---|
| RGB | rgb(208, 69, 66) |
| HSL | hsl(1, 60%, 54%) |
| HSV | hsv(1, 68%, 82%) |
| CMYK | cmyk(0%, 66.8%, 68.3%, 18.4%) |
| CIE-LAB | lab(49.57, 54.45, 32.53) |
| CIE-LCH | lch(49.57, 63.43, 30.86°) |
| OKLab | oklab(58.62% 0.1588 0.0756) |
| OKLCH | oklch(58.62% 0.176 25.4) |
| XYZ | xyz(29.1270, 18.0637, 7.1061) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Reddish
#C44240
ΔE00 2.78
Dark Coral
#CF524E
ΔE00 2.86
Faded Red
#D3494E
ΔE00 3.01
Pale Red
#D9544D
ΔE00 4.11
Dark Salmon
#C85A53
ΔE00 4.48
Dull Red
#BB3F3F
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04542 #42CDD0
analogous
#D04286 #D04542 #D08C42
triadic
#D04542 #42D045 #4542D0
tetradic
#D04542 #86D042 #42CDD0 #8C42D0
square
#D04542 #86D042 #42CDD0 #8C42D0
split-complementary
#D04542 #42D08C #4286D0
monochromatic
#79201E #AA2D2A #D04542 #DC7573 #E8A5A4
Accessibility & contrast
On white
4.55
#D04542 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#D04542 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04542
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04542 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04542 | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6340
Deuteranopia (green-blind)
#8E813E
Tritanopia (blue-blind)
#E41F46
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #d04542; /* rgb */ color: rgb(208, 69, 66); /* oklch */ color: oklch(58.6% 0.176 25.4);
Tailwind
colors: {
custom: {
50: '#e68076',
500: '#d04542',
950: '#000000',
},
}SCSS
$custom: #d04542; $custom-light: #e68076; $custom-dark: #000000;
JSON
{
"hex": "#d04542",
"rgb": {
"r": 208,
"g": 69,
"b": 66
},
"hsl": {
"h": 1.268,
"s": 60.169,
"l": 53.725
},
"oklch": {
"l": 0.58623,
"c": 0.17589,
"h": 25.4
},
"luminance": 0.18059
}Semantic roles & 50–950 ramp
primary
#D04542
secondary
#99D4D5
accent
#E0E344
background
#FFF8F7
surface
#FEEFED
border
#D6CAC8
text
#170B08
muted
#857C7B