#871B21#871B21
#871B21 is a dark, vivid red. Relative luminance 0.060; OKLCH L 41.0% C 0.143 H 23.7°. Best body text is #FFFFFF at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #871B21 |
|---|---|
| RGB | rgb(135, 27, 33) |
| HSL | hsl(357, 67%, 32%) |
| HSV | hsv(357, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 75.6%, 47.1%) |
| CIE-LAB | lab(29.53, 44.88, 25.34) |
| CIE-LCH | lch(29.53, 51.54, 29.45°) |
| OKLab | oklab(40.99% 0.1307 0.0573) |
| OKLCH | oklch(40.99% 0.143 23.7) |
| XYZ | xyz(10.6594, 6.0462, 2.0443) |
| Luminance | 0.0604 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 4.29
Crimson (survey)
#8C000F
ΔE00 4.31
Carmine
#9D0216
ΔE00 5.19
Wine Red
#7B0323
ΔE00 5.75
Maroon
#800000
ΔE00 6.70
Blood
#770001
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B21 #1B8781
analogous
#871B57 #871B21 #874B1B
triadic
#871B21 #21871B #1B2187
tetradic
#871B21 #57871B #1B8781 #4B1B87
square
#871B21 #57871B #1B8781 #4B1B87
split-complementary
#871B21 #1B874B #1B5787
monochromatic
#210708 #541115 #871B21 #BA252D #D9434B
Accessibility & contrast
On white
9.51
#871B21 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#871B21 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B21
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B21 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B21 | 1.00 | 9.51 | 2.21 | 9.51 |
| #FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3720
Deuteranopia (green-blind)
#574E1D
Tritanopia (blue-blind)
#95001F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b21; /* rgb */ color: rgb(135, 27, 33); /* oklch */ color: oklch(41.0% 0.143 23.7);
Tailwind
colors: {
custom: {
50: '#b2625c',
500: '#871b21',
950: '#000000',
},
}SCSS
$custom: #871b21; $custom-light: #b2625c; $custom-dark: #000000;
JSON
{
"hex": "#871b21",
"rgb": {
"r": 135,
"g": 27,
"b": 33
},
"hsl": {
"h": 356.667,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.40989,
"c": 0.14272,
"h": 23.7
},
"luminance": 0.06045
}Semantic roles & 50–950 ramp
primary
#871B21
secondary
#44BAB4
accent
#EAE03E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79