#D8474B#D8474B
#D8474B is a mid, vivid red. Relative luminance 0.196; OKLCH L 60.3% C 0.181 H 22.9°. Best body text is #000000 at 4.92:1 contrast (WCAG AA passes).
Color values
| HEX | #D8474B |
|---|---|
| RGB | rgb(216, 71, 75) |
| HSL | hsl(358, 65%, 56%) |
| HSV | hsv(358, 67%, 85%) |
| CMYK | cmyk(0%, 67.1%, 65.3%, 15.3%) |
| CIE-LAB | lab(51.40, 56.75, 29.85) |
| CIE-LCH | lch(51.40, 64.12, 27.75°) |
| OKLab | oklab(60.3% 0.1669 0.0705) |
| OKLCH | oklch(60.3% 0.181 22.9) |
| XYZ | xyz(31.8454, 19.6179, 8.7650) |
| Luminance | 0.1961 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 1.22
Dark Coral
#CF524E
ΔE00 2.35
Pale Red
#D9544D
ΔE00 3.26
Pastel Red
#DB5856
ΔE00 3.67
Dark Salmon
#C85A53
ΔE00 4.26
Indianred
#CD5C5C
ΔE00 4.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D8474B #47D8D4
analogous
#D84794 #D8474B #D88C47
triadic
#D8474B #4BD847 #474BD8
tetradic
#D8474B #94D847 #47D8D4 #8C47D8
square
#D8474B #94D847 #47D8D4 #8C47D8
split-complementary
#D8474B #47D88C #4794D8
monochromatic
#881D20 #BA272C #D8474B #E3797C #EDACAE
Accessibility & contrast
On white
4.27
#D8474B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.92
#D8474B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D8474B
4.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D8474B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D8474B | 1.00 | 4.27 | 4.92 | 4.92 |
| #FFFFFF | 4.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E674A
Deuteranopia (green-blind)
#938647
Tritanopia (blue-blind)
#ED214A
Achromatopsia (no color)
#7A7A7A
Design tokens & code
CSS
--color: #d8474b; /* rgb */ color: rgb(216, 71, 75); /* oklch */ color: oklch(60.3% 0.181 22.9);
Tailwind
colors: {
custom: {
50: '#ec827d',
500: '#d8474b',
950: '#000000',
},
}SCSS
$custom: #d8474b; $custom-light: #ec827d; $custom-dark: #000000;
JSON
{
"hex": "#d8474b",
"rgb": {
"r": 216,
"g": 71,
"b": 75
},
"hsl": {
"h": 358.345,
"s": 65.022,
"l": 56.275
},
"oklch": {
"l": 0.60296,
"c": 0.1812,
"h": 22.9
},
"luminance": 0.19613
}Semantic roles & 50–950 ramp
primary
#D8474B
secondary
#A0DBDA
accent
#E8E340
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B09
muted
#867C7B