#D93F42#D93F42
#D93F42 is a mid, vivid red. Relative luminance 0.187; OKLCH L 59.5% C 0.191 H 24.1°. Best body text is #000000 at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #D93F42 |
|---|---|
| RGB | rgb(217, 63, 66) |
| HSL | hsl(359, 67%, 55%) |
| HSV | hsv(359, 71%, 85%) |
| CMYK | cmyk(0%, 71%, 69.6%, 14.9%) |
| CIE-LAB | lab(50.34, 59.62, 33.84) |
| CIE-LCH | lch(50.34, 68.56, 29.57°) |
| OKLab | oklab(59.49% 0.1741 0.078) |
| OKLCH | oklch(59.49% 0.191 24.1) |
| XYZ | xyz(31.3796, 18.7048, 7.1113) |
| Luminance | 0.1870 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Faded Red
#D3494E
ΔE00 2.76
Dark Coral
#CF524E
ΔE00 3.38
Pale Red
#D9544D
ΔE00 4.01
Reddish
#C44240
ΔE00 4.06
Crimson
#DC143C
ΔE00 4.90
Pastel Red
#DB5856
ΔE00 5.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D93F42 #3FD9D6
analogous
#D93F8F #D93F42 #D9893F
triadic
#D93F42 #42D93F #3F42D9
tetradic
#D93F42 #8FD93F #3FD9D6 #893FD9
square
#D93F42 #8FD93F #3FD9D6 #893FD9
split-complementary
#D93F42 #3FD989 #3F8FD9
monochromatic
#841A1C #B72427 #D93F42 #E37274 #EDA5A7
Accessibility & contrast
On white
4.43
#D93F42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.74
#D93F42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #D93F42
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D93F42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##D93F42 | 1.00 | 4.43 | 4.74 | 4.74 |
| #FFFFFF | 4.43 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.74 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.74 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B6341
Deuteranopia (green-blind)
#91843D
Tritanopia (blue-blind)
#EE0042
Achromatopsia (no color)
#787878
Design tokens & code
CSS
--color: #d93f42; /* rgb */ color: rgb(217, 63, 66); /* oklch */ color: oklch(59.5% 0.191 24.1);
Tailwind
colors: {
custom: {
50: '#ed7e76',
500: '#d93f42',
950: '#000000',
},
}SCSS
$custom: #d93f42; $custom-light: #ed7e76; $custom-dark: #000000;
JSON
{
"hex": "#d93f42",
"rgb": {
"r": 217,
"g": 63,
"b": 66
},
"hsl": {
"h": 358.831,
"s": 66.957,
"l": 54.902
},
"oklch": {
"l": 0.59492,
"c": 0.19078,
"h": 24.1
},
"luminance": 0.187
}Semantic roles & 50–950 ramp
primary
#D93F42
secondary
#9ADAD9
accent
#EAE73E
background
#FFF8F7
surface
#FFEFED
border
#D7CAC8
text
#180B08
muted
#867C7B