#871B1A#871B1A
#871B1A is a dark, vivid red. Relative luminance 0.060; OKLCH L 40.9% C 0.144 H 26.7°. Best body text is #FFFFFF at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #871B1A |
|---|---|
| RGB | rgb(135, 27, 26) |
| HSL | hsl(1, 68%, 32%) |
| HSV | hsv(1, 81%, 53%) |
| CMYK | cmyk(0%, 80%, 80.7%, 47.1%) |
| CIE-LAB | lab(29.44, 44.59, 29.56) |
| CIE-LCH | lch(29.44, 53.50, 33.54°) |
| OKLab | oklab(40.89% 0.1282 0.0646) |
| OKLCH | oklch(40.89% 0.144 26.7) |
| XYZ | xyz(10.5713, 6.0110, 1.5807) |
| Luminance | 0.0601 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.64
Carmine
#9D0216
ΔE00 4.25
Indian Red
#850E04
ΔE00 4.41
Dark Red
#840000
ΔE00 4.64
Maroon
#800000
ΔE00 4.70
Darkred
#8B0000
ΔE00 4.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B1A #1A8687
analogous
#871A50 #871B1A #87521A
triadic
#871B1A #1A871B #1B1A87
tetradic
#871B1A #50871A #1A8687 #521A87
square
#871B1A #50871A #1A8687 #521A87
split-complementary
#871B1A #1A8752 #1A5087
monochromatic
#200606 #541110 #871B1A #BA2524 #DA4241
Accessibility & contrast
On white
9.54
#871B1A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.20
#871B1A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B1A
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B1A | 1.00 | 9.54 | 2.20 | 9.54 |
| #FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.20 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3618
Deuteranopia (green-blind)
#574E15
Tritanopia (blue-blind)
#95001C
Achromatopsia (no color)
#454545
Design tokens & code
CSS
--color: #871b1a; /* rgb */ color: rgb(135, 27, 26); /* oklch */ color: oklch(40.9% 0.144 26.7);
Tailwind
colors: {
custom: {
50: '#b26257',
500: '#871b1a',
950: '#000000',
},
}SCSS
$custom: #871b1a; $custom-light: #b26257; $custom-dark: #000000;
JSON
{
"hex": "#871b1a",
"rgb": {
"r": 135,
"g": 27,
"b": 26
},
"hsl": {
"h": 0.55,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.40895,
"c": 0.14353,
"h": 26.7
},
"luminance": 0.06009
}Semantic roles & 50–950 ramp
primary
#871B1A
secondary
#42B9BA
accent
#E9EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78