#D42331#D42331
#D42331 is a mid, highly saturated red. Relative luminance 0.154; OKLCH L 56.2% C 0.209 H 24.1°. Best body text is #FFFFFF at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #D42331 |
|---|---|
| RGB | rgb(212, 35, 49) |
| HSL | hsl(355, 72%, 48%) |
| HSV | hsv(355, 83%, 83%) |
| CMYK | cmyk(0%, 83.5%, 76.9%, 16.9%) |
| CIE-LAB | lab(46.21, 65.76, 38.67) |
| CIE-LCH | lch(46.21, 76.29, 30.46°) |
| OKLab | oklab(56.19% 0.1906 0.0852) |
| OKLCH | oklch(56.19% 0.209 24.1) |
| XYZ | xyz(28.3103, 15.4255, 4.3919) |
| Luminance | 0.1542 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson
#DC143C
ΔE00 3.63
Cherry (survey)
#CF0234
ΔE00 3.95
Reddish
#C44240
ΔE00 4.15
Dull Red
#BB3F3F
ΔE00 5.05
Cardinal
#C41E3A
ΔE00 5.46
Lipstick Red
#C0022F
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#D42331 #23D4C6
analogous
#D42389 #D42331 #D46D23
triadic
#D42331 #31D423 #2331D4
tetradic
#D42331 #89D423 #23D4C6 #6D23D4
square
#D42331 #89D423 #23D4C6 #6D23D4
split-complementary
#D42331 #23D46D #2389D4
monochromatic
#6B1219 #9F1A25 #D42331 #E2525D #EB868E
Accessibility & contrast
On white
5.14
#D42331 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.08
#D42331 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #D42331
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##D42331 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##D42331 | 1.00 | 5.14 | 4.08 | 5.14 |
| #FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.14 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5E552F
Deuteranopia (green-blind)
#897B2A
Tritanopia (blue-blind)
#EA002B
Achromatopsia (no color)
#6D6D6D
Design tokens & code
CSS
--color: #d42331; /* rgb */ color: rgb(212, 35, 49); /* oklch */ color: oklch(56.2% 0.209 24.1);
Tailwind
colors: {
custom: {
50: '#eb7269',
500: '#d42331',
950: '#000000',
},
}SCSS
$custom: #d42331; $custom-light: #eb7269; $custom-dark: #000000;
JSON
{
"hex": "#d42331",
"rgb": {
"r": 212,
"g": 35,
"b": 49
},
"hsl": {
"h": 355.254,
"s": 71.66,
"l": 48.431
},
"oklch": {
"l": 0.56186,
"c": 0.20873,
"h": 24.1
},
"luminance": 0.15421
}Semantic roles & 50–950 ramp
primary
#D42331
secondary
#7ED4CE
accent
#EEE039
background
#FFF7F6
surface
#FFEDEB
border
#D7C8C6
text
#180906
muted
#867B7A