#42171E#42171E
#42171E is a dark, moderate red. Relative luminance 0.019; OKLCH L 27.4% C 0.067 H 12.6°. Best body text is #FFFFFF at 15.29:1 contrast (WCAG AA passes).
Color values
| HEX | #42171E |
|---|---|
| RGB | rgb(66, 23, 30) |
| HSL | hsl(350, 48%, 17%) |
| HSV | hsv(350, 65%, 26%) |
| CMYK | cmyk(0%, 65.2%, 54.5%, 74.1%) |
| CIE-LAB | lab(14.76, 21.60, 5.73) |
| CIE-LCH | lch(14.76, 22.34, 14.86°) |
| OKLab | oklab(27.36% 0.0653 0.0147) |
| OKLCH | oklch(27.36% 0.067 12.6) |
| XYZ | xyz(2.7877, 1.8651, 1.4412) |
| Luminance | 0.0186 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Dark Maroon
#3C0008
ΔE00 5.74
Deep Brown
#410200
ΔE00 7.41
Burgundy (survey)
#610023
ΔE00 8.56
Mahogany
#4A0100
ΔE00 8.87
Dried Blood
#4B0101
ΔE00 8.87
Maroon (survey)
#650021
ΔE00 9.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#42171E #17423B
analogous
#421733 #42171E #422617
triadic
#42171E #1E4217 #171E42
tetradic
#42171E #334217 #17423B #261742
square
#42171E #334217 #17423B #261742
split-complementary
#42171E #174226 #173342
monochromatic
#17080A #17080A #42171E #6F2733 #9D3747
Accessibility & contrast
On white
15.29
#42171E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
1.37
#42171E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #42171E
15.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##42171E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##42171E | 1.00 | 15.29 | 1.37 | 15.29 |
| #FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 1.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 15.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#20201E
Deuteranopia (green-blind)
#2B281D
Tritanopia (blue-blind)
#48111A
Achromatopsia (no color)
#252525
Design tokens & code
CSS
--color: #42171e; /* rgb */ color: rgb(66, 23, 30); /* oklch */ color: oklch(27.4% 0.067 12.6);
Tailwind
colors: {
custom: {
50: '#795659',
500: '#42171e',
950: '#000000',
},
}SCSS
$custom: #42171e; $custom-light: #795659; $custom-dark: #000000;
JSON
{
"hex": "#42171e",
"rgb": {
"r": 66,
"g": 23,
"b": 30
},
"hsl": {
"h": 350.233,
"s": 48.315,
"l": 17.451
},
"oklch": {
"l": 0.2736,
"c": 0.06694,
"h": 12.6
},
"luminance": 0.01865
}Semantic roles & 50–950 ramp
primary
#42171E
secondary
#3C796F
accent
#D8C250
background
#F7F5F5
surface
#EEE9E9
border
#C9C5C5
text
#090303
muted
#7B7878