#D5404C#D5404C
#D5404C is a mid, vivid red. Relative luminance 0.183; OKLCH L 59.1% C 0.185 H 20.6°. Best body text is #000000 at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #D5404C |
|---|---|
| RGB | rgb(213, 64, 76) |
| HSL | hsl(355, 64%, 54%) |
| HSV | hsv(355, 70%, 84%) |
| CMYK | cmyk(0%, 70%, 64.3%, 16.5%) |
| CIE-LAB | lab(49.91, 58.55, 27.27) |
| CIE-LCH | lch(49.91, 64.59, 24.98°) |
| OKLab | oklab(59.09% 0.1732 0.0649) |
| OKLCH | oklch(59.09% 0.185 20.6) |
| XYZ | xyz(30.5817, 18.3392, 8.7656) |
| Luminance | 0.1834 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 1.68
Dark Coral
#CF524E
ΔE00 3.96
Crimson
#DC143C
ΔE00 4.36
Reddish
#C44240
ΔE00 4.50
Pinkish Red
#F10C45
ΔE00 4.78
Dusty Red
#B9484E
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5404C #40D5C9
analogous
#D54097 #D5404C #D57F40
triadic
#D5404C #4CD540 #404CD5
tetradic
#D5404C #97D540 #40D5C9 #7F40D5
square
#D5404C #97D540 #40D5C9 #7F40D5
split-complementary
#D5404C #40D57F #4097D5
monochromatic
#7F1C24 #B12732 #D5404C #E0727B #EBA4AA
Accessibility & contrast
On white
4.50
#D5404C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.67
#D5404C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D5404C
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5404C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5404C | 1.00 | 4.50 | 4.67 | 4.67 |
| #FFFFFF | 4.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#69634B
Deuteranopia (green-blind)
#8E8248
Tritanopia (blue-blind)
#E91246
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d5404c; /* rgb */ color: rgb(213, 64, 76); /* oklch */ color: oklch(59.1% 0.185 20.6);
Tailwind
colors: {
custom: {
50: '#ea7e7e',
500: '#d5404c',
950: '#000000',
},
}SCSS
$custom: #d5404c; $custom-light: #ea7e7e; $custom-dark: #000000;
JSON
{
"hex": "#d5404c",
"rgb": {
"r": 213,
"g": 64,
"b": 76
},
"hsl": {
"h": 355.168,
"s": 63.948,
"l": 54.314
},
"oklch": {
"l": 0.59085,
"c": 0.18495,
"h": 20.6
},
"luminance": 0.18335
}Semantic roles & 50–950 ramp
primary
#D5404C
secondary
#99D8D3
accent
#E7DA41
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B09
muted
#867C7B