#D64F42#D64F42
#D64F42 is a mid, vivid red. Relative luminance 0.203; OKLCH L 60.8% C 0.172 H 28.6°. Best body text is #000000 at 5.06:1 contrast (WCAG AA passes).
Color values
| HEX | #D64F42 |
|---|---|
| RGB | rgb(214, 79, 66) |
| HSL | hsl(5, 64%, 55%) |
| HSV | hsv(5, 69%, 84%) |
| CMYK | cmyk(0%, 63.1%, 69.2%, 16.1%) |
| CIE-LAB | lab(52.16, 52.28, 35.86) |
| CIE-LCH | lch(52.16, 63.40, 34.45°) |
| OKLab | oklab(60.76% 0.1513 0.0826) |
| OKLCH | oklch(60.76% 0.172 28.6) |
| XYZ | xyz(31.5142, 20.2858, 7.4093) |
| Luminance | 0.2028 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Pale Red
#D9544D
ΔE00 2.54
Dark Coral
#CF524E
ΔE00 3.44
Dark Salmon
#C85A53
ΔE00 4.37
Pastel Red
#DB5856
ΔE00 4.65
Faded Red
#D3494E
ΔE00 5.09
Reddish
#C44240
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D64F42 #42C9D6
analogous
#D6427F #D64F42 #D69942
triadic
#D64F42 #42D64F #4F42D6
tetradic
#D64F42 #7FD642 #42C9D6 #9942D6
square
#D64F42 #7FD642 #42C9D6 #9942D6
split-complementary
#D64F42 #42D699 #427FD6
monochromatic
#82251C #B43327 #D64F42 #E17E74 #ECADA7
Accessibility & contrast
On white
4.15
#D64F42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.06
#D64F42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D64F42
5.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D64F42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D64F42 | 1.00 | 4.15 | 5.06 | 5.06 |
| #FFFFFF | 4.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.06 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.06 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746A40
Deuteranopia (green-blind)
#95873E
Tritanopia (blue-blind)
#EB2F4D
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #d64f42; /* rgb */ color: rgb(214, 79, 66); /* oklch */ color: oklch(60.8% 0.172 28.6);
Tailwind
colors: {
custom: {
50: '#ea8677',
500: '#d64f42',
950: '#000000',
},
}SCSS
$custom: #d64f42; $custom-light: #ea8677; $custom-dark: #000000;
JSON
{
"hex": "#d64f42",
"rgb": {
"r": 214,
"g": 79,
"b": 66
},
"hsl": {
"h": 5.27,
"s": 64.348,
"l": 54.902
},
"oklch": {
"l": 0.60757,
"c": 0.17238,
"h": 28.6
},
"luminance": 0.20281
}Semantic roles & 50–950 ramp
primary
#D64F42
secondary
#9BD4D9
accent
#D9E740
background
#FFF8F7
surface
#FFF0ED
border
#D7CBC8
text
#180C08
muted
#867D7B