#D8474D#D8474D
#D8474D is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.3% C 0.181 H 22.1°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D8474D |
|---|---|
| RGB | rgb(216, 71, 77) |
| HSL | hsl(358, 65%, 56%) |
| HSV | hsv(358, 67%, 85%) |
| CMYK | cmyk(0%, 67.1%, 64.4%, 15.3%) |
| CIE-LAB | lab(51.43, 56.86, 28.72) |
| CIE-LCH | lch(51.43, 63.71, 26.80°) |
| OKLab | oklab(60.33% 0.1677 0.0682) |
| OKLCH | oklch(60.33% 0.181 22.1) |
| XYZ | xyz(31.9150, 19.6457, 9.1312) |
| Luminance | 0.1964 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 0.92
Dark Coral
#CF524E
ΔE00 2.60
Pale Red
#D9544D
ΔE00 3.63
Pastel Red
#DB5856
ΔE00 3.72
Indianred
#CD5C5C
ΔE00 4.32
Dark Salmon
#C85A53
ΔE00 4.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8474D #47D8D2
analogous
#D84796 #D8474D #D88A47
triadic
#D8474D #4DD847 #474DD8
tetradic
#D8474D #96D847 #47D8D2 #8A47D8
square
#D8474D #96D847 #47D8D2 #8A47D8
split-complementary
#D8474D #47D88A #4796D8
monochromatic
#881D21 #BA272E #D8474D #E3797E #EDACAF
Accessibility & contrast
On white
4.26
#D8474D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#D8474D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8474D
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8474D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8474D | 1.00 | 4.26 | 4.93 | 4.93 |
| #FFFFFF | 4.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E674C
Deuteranopia (green-blind)
#928649
Tritanopia (blue-blind)
#ED224A
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #d8474d; /* rgb */ color: rgb(216, 71, 77); /* oklch */ color: oklch(60.3% 0.181 22.1);
Tailwind
colors: {
custom: {
50: '#eb827e',
500: '#d8474d',
950: '#000000',
},
}SCSS
$custom: #d8474d; $custom-light: #eb827e; $custom-dark: #000000;
JSON
{
"hex": "#d8474d",
"rgb": {
"r": 216,
"g": 71,
"b": 77
},
"hsl": {
"h": 357.517,
"s": 65.022,
"l": 56.275
},
"oklch": {
"l": 0.6033,
"c": 0.18101,
"h": 22.1
},
"luminance": 0.19641
}Semantic roles & 50–950 ramp
primary
#D8474D
secondary
#A0DBD9
accent
#E8E140
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B0A
muted
#867C7C