#D5404F#D5404F
#D5404F is a mid, vivid red. Relative luminance 0.184; OKLCH L 59.1% C 0.185 H 19.4°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #D5404F |
|---|---|
| RGB | rgb(213, 64, 79) |
| HSL | hsl(354, 64%, 54%) |
| HSV | hsv(354, 70%, 84%) |
| CMYK | cmyk(0%, 70%, 62.9%, 16.5%) |
| CIE-LAB | lab(49.96, 58.72, 25.55) |
| CIE-LCH | lch(49.96, 64.04, 23.51°) |
| OKLab | oklab(59.14% 0.1743 0.0613) |
| OKLCH | oklch(59.14% 0.185 19.4) |
| XYZ | xyz(30.6884, 18.3818, 9.3277) |
| Luminance | 0.1838 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 2.21
Dark Coral
#CF524E
ΔE00 4.53
Crimson
#DC143C
ΔE00 4.64
Pinkish Red
#F10C45
ΔE00 4.85
Reddish
#C44240
ΔE00 5.14
Dusty Red
#B9484E
ΔE00 5.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D5404F #40D5C6
analogous
#D54099 #D5404F #D57C40
triadic
#D5404F #4FD540 #404FD5
tetradic
#D5404F #99D540 #40D5C6 #7C40D5
square
#D5404F #99D540 #40D5C6 #7C40D5
split-complementary
#D5404F #40D57C #4099D5
monochromatic
#7F1C26 #B12735 #D5404F #E0727D #EBA4AB
Accessibility & contrast
On white
4.49
#D5404F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#D5404F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D5404F
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D5404F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D5404F | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#68634F
Deuteranopia (green-blind)
#8E824B
Tritanopia (blue-blind)
#E91447
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #d5404f; /* rgb */ color: rgb(213, 64, 79); /* oklch */ color: oklch(59.1% 0.185 19.4);
Tailwind
colors: {
custom: {
50: '#e97f80',
500: '#d5404f',
950: '#000000',
},
}SCSS
$custom: #d5404f; $custom-light: #e97f80; $custom-dark: #000000;
JSON
{
"hex": "#d5404f",
"rgb": {
"r": 213,
"g": 64,
"b": 79
},
"hsl": {
"h": 353.96,
"s": 63.948,
"l": 54.314
},
"oklch": {
"l": 0.5914,
"c": 0.1848,
"h": 19.4
},
"luminance": 0.18377
}Semantic roles & 50–950 ramp
primary
#D5404F
secondary
#99D8D2
accent
#E7D641
background
#FFF8F7
surface
#FFEFEE
border
#D7CAC9
text
#180B0A
muted
#867C7C