#871A21#871A21
#871A21 is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.144 H 23.4°. Best body text is #FFFFFF at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #871A21 |
|---|---|
| RGB | rgb(135, 26, 33) |
| HSL | hsl(356, 68%, 32%) |
| HSV | hsv(356, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 75.6%, 47.1%) |
| CIE-LAB | lab(29.42, 45.19, 25.21) |
| CIE-LCH | lch(29.42, 51.75, 29.15°) |
| OKLab | oklab(40.9% 0.1317 0.057) |
| OKLCH | oklch(40.9% 0.144 23.4) |
| XYZ | xyz(10.6368, 6.0012, 2.0368) |
| Luminance | 0.0600 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.11
Crimson (survey)
#8C000F
ΔE00 4.37
Carmine
#9D0216
ΔE00 5.26
Wine Red
#7B0323
ΔE00 5.58
Blood
#770001
ΔE00 6.75
Maroon
#800000
ΔE00 6.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A21 #1A8780
analogous
#871A58 #871A21 #874A1A
triadic
#871A21 #21871A #1A2187
tetradic
#871A21 #58871A #1A8780 #4A1A87
square
#871A21 #58871A #1A8780 #4A1A87
split-complementary
#871A21 #1A874A #1A5887
monochromatic
#200608 #541014 #871A21 #BA242E #DA414B
Accessibility & contrast
On white
9.55
#871A21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#871A21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A21
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A21 | 1.00 | 9.55 | 2.20 | 9.55 |
| #FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3620
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#95001E
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871a21; /* rgb */ color: rgb(135, 26, 33); /* oklch */ color: oklch(40.9% 0.144 23.4);
Tailwind
colors: {
custom: {
50: '#b2625c',
500: '#871a21',
950: '#000000',
},
}SCSS
$custom: #871a21; $custom-light: #b2625c; $custom-dark: #000000;
JSON
{
"hex": "#871a21",
"rgb": {
"r": 135,
"g": 26,
"b": 33
},
"hsl": {
"h": 356.147,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.40904,
"c": 0.14353,
"h": 23.4
},
"luminance": 0.05999
}Semantic roles & 50–950 ramp
primary
#871A21
secondary
#42BAB3
accent
#EBDF3D
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79