#D8474E#D8474E
#D8474E is a mid, vivid red. Relative luminance 0.197; OKLCH L 60.3% C 0.181 H 21.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #D8474E |
|---|---|
| RGB | rgb(216, 71, 78) |
| HSL | hsl(357, 65%, 56%) |
| HSV | hsv(357, 67%, 85%) |
| CMYK | cmyk(0%, 67.1%, 63.9%, 15.3%) |
| CIE-LAB | lab(51.45, 56.92, 28.16) |
| CIE-LCH | lch(51.45, 63.50, 26.32°) |
| OKLab | oklab(60.35% 0.168 0.0671) |
| OKLCH | oklch(60.35% 0.181 21.8) |
| XYZ | xyz(31.9505, 19.6600, 9.3186) |
| Luminance | 0.1966 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 0.90
Dark Coral
#CF524E
ΔE00 2.76
Pastel Red
#DB5856
ΔE00 3.77
Pale Red
#D9544D
ΔE00 3.83
Indianred
#CD5C5C
ΔE00 4.26
Dark Salmon
#C85A53
ΔE00 4.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8474E #47D8D1
analogous
#D84797 #D8474E #D88947
triadic
#D8474E #4ED847 #474ED8
tetradic
#D8474E #97D847 #47D8D1 #8947D8
square
#D8474E #97D847 #47D8D1 #8947D8
split-complementary
#D8474E #47D889 #4797D8
monochromatic
#881D22 #BA272F #D8474E #E3797F #EDACAF
Accessibility & contrast
On white
4.26
#D8474E on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.93
#D8474E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8474E
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8474E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8474E | 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)
#6E674D
Deuteranopia (green-blind)
#92864A
Tritanopia (blue-blind)
#ED224B
Achromatopsia (no color)
#7B7B7B
Design tokens & code
CSS
--color: #d8474e; /* rgb */ color: rgb(216, 71, 78); /* oklch */ color: oklch(60.3% 0.181 21.8);
Tailwind
colors: {
custom: {
50: '#eb827f',
500: '#d8474e',
950: '#000000',
},
}SCSS
$custom: #d8474e; $custom-light: #eb827f; $custom-dark: #000000;
JSON
{
"hex": "#d8474e",
"rgb": {
"r": 216,
"g": 71,
"b": 78
},
"hsl": {
"h": 357.103,
"s": 65.022,
"l": 56.275
},
"oklch": {
"l": 0.60348,
"c": 0.18093,
"h": 21.8
},
"luminance": 0.19655
}Semantic roles & 50–950 ramp
primary
#D8474E
secondary
#A0DBD8
accent
#E8E040
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B0A
muted
#867C7C