#871B26#871B26
#871B26 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 21.2°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #871B26 |
|---|---|
| RGB | rgb(135, 27, 38) |
| HSL | hsl(354, 67%, 32%) |
| HSV | hsv(354, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 71.9%, 47.1%) |
| CIE-LAB | lab(29.60, 45.12, 22.23) |
| CIE-LCH | lch(29.60, 50.30, 26.23°) |
| OKLab | oklab(41.07% 0.1326 0.0515) |
| OKLCH | oklch(41.07% 0.142 21.2) |
| XYZ | xyz(10.7347, 6.0764, 2.4410) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.31
Wine Red
#7B0323
ΔE00 4.50
Crimson (survey)
#8C000F
ΔE00 5.91
Carmine
#9D0216
ΔE00 6.44
Red Wine
#8C0034
ΔE00 6.94
Claret
#680018
ΔE00 7.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B26 #1B877C
analogous
#871B5C #871B26 #87461B
triadic
#871B26 #26871B #1B2687
tetradic
#871B26 #5C871B #1B877C #461B87
square
#871B26 #5C871B #1B877C #461B87
split-complementary
#871B26 #1B8746 #1B5C87
monochromatic
#210709 #541118 #871B26 #BA2534 #D94352
Accessibility & contrast
On white
9.48
#871B26 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#871B26 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B26
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B26 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B26 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3725
Deuteranopia (green-blind)
#564E22
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b26; /* rgb */ color: rgb(135, 27, 38); /* oklch */ color: oklch(41.1% 0.142 21.2);
Tailwind
colors: {
custom: {
50: '#b16260',
500: '#871b26',
950: '#000000',
},
}SCSS
$custom: #871b26; $custom-light: #b16260; $custom-dark: #000000;
JSON
{
"hex": "#871b26",
"rgb": {
"r": 135,
"g": 27,
"b": 38
},
"hsl": {
"h": 353.889,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41069,
"c": 0.14229,
"h": 21.2
},
"luminance": 0.06075
}Semantic roles & 50–950 ramp
primary
#871B26
secondary
#44BAAE
accent
#EAD83E
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120604
muted
#817A79