#D04D52#D04D52
#D04D52 is a mid, vivid red. Relative luminance 0.193; OKLCH L 59.8% C 0.166 H 21.4°. Best body text is #000000 at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #D04D52 |
|---|---|
| RGB | rgb(208, 77, 82) |
| HSL | hsl(358, 58%, 56%) |
| HSV | hsv(358, 63%, 82%) |
| CMYK | cmyk(0%, 63%, 60.6%, 18.4%) |
| CIE-LAB | lab(51.07, 52.05, 25.04) |
| CIE-LCH | lch(51.07, 57.76, 25.69°) |
| OKLab | oklab(59.83% 0.1543 0.0606) |
| OKLCH | oklch(59.83% 0.166 21.4) |
| XYZ | xyz(30.1921, 19.3309, 10.1224) |
| Luminance | 0.1933 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 1.02
Dark Coral
#CF524E
ΔE00 2.44
Indianred
#CD5C5C
ΔE00 3.24
Dark Salmon
#C85A53
ΔE00 3.63
Pastel Red
#DB5856
ΔE00 3.98
Pale Red
#D9544D
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D04D52 #4DD0CB
analogous
#D04D93 #D04D52 #D0894D
triadic
#D04D52 #52D04D #4D52D0
tetradic
#D04D52 #93D04D #4DD0CB #894DD0
square
#D04D52 #93D04D #4DD0CB #894DD0
split-complementary
#D04D52 #4DD089 #4D93D0
monochromatic
#812226 #B12F34 #D04D52 #DD7D81 #EAAEB0
Accessibility & contrast
On white
4.32
#D04D52 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.87
#D04D52 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D04D52
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D04D52 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D04D52 | 1.00 | 4.32 | 4.87 | 4.87 |
| #FFFFFF | 4.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6851
Deuteranopia (green-blind)
#8F844F
Tritanopia (blue-blind)
#E33250
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #d04d52; /* rgb */ color: rgb(208, 77, 82); /* oklch */ color: oklch(59.8% 0.166 21.4);
Tailwind
colors: {
custom: {
50: '#e58582',
500: '#d04d52',
950: '#000000',
},
}SCSS
$custom: #d04d52; $custom-light: #e58582; $custom-dark: #000000;
JSON
{
"hex": "#d04d52",
"rgb": {
"r": 208,
"g": 77,
"b": 82
},
"hsl": {
"h": 357.71,
"s": 58.222,
"l": 55.882
},
"oklch": {
"l": 0.59829,
"c": 0.16574,
"h": 21.4
},
"luminance": 0.19327
}Semantic roles & 50–950 ramp
primary
#D04D52
secondary
#A1D8D5
accent
#E1DC46
background
#FEF8F7
surface
#FDF0EE
border
#D5CBC9
text
#170B0A
muted
#857C7C