#871B31#871B31
#871B31 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.142 H 15.2°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #871B31 |
|---|---|
| RGB | rgb(135, 27, 49) |
| HSL | hsl(348, 67%, 32%) |
| HSV | hsv(348, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 63.7%, 47.1%) |
| CIE-LAB | lab(29.81, 45.76, 15.28) |
| CIE-LCH | lch(29.81, 48.25, 18.46°) |
| OKLab | oklab(41.29% 0.1372 0.0372) |
| OKLCH | oklch(41.29% 0.142 15.2) |
| XYZ | xyz(10.9391, 6.1582, 3.5178) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.32
Wine Red
#7B0323
ΔE00 3.89
Burgundy
#800020
ΔE00 4.26
Bordeaux
#7B002C
ΔE00 4.37
Cranberry
#9E003A
ΔE00 4.75
Wine
#722F37
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B31 #1B8771
analogous
#871B67 #871B31 #873B1B
triadic
#871B31 #31871B #1B3187
tetradic
#871B31 #67871B #1B8771 #3B1B87
square
#871B31 #67871B #1B8771 #3B1B87
split-complementary
#871B31 #1B873B #1B6787
monochromatic
#21070C #54111E #871B31 #BA2544 #D94362
Accessibility & contrast
On white
9.41
#871B31 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#871B31 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B31
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B31 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B31 | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3831
Deuteranopia (green-blind)
#554E2E
Tritanopia (blue-blind)
#940024
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b31; /* rgb */ color: rgb(135, 27, 49); /* oklch */ color: oklch(41.3% 0.142 15.2);
Tailwind
colors: {
custom: {
50: '#b16368',
500: '#871b31',
950: '#000000',
},
}SCSS
$custom: #871b31; $custom-light: #b16368; $custom-dark: #000000;
JSON
{
"hex": "#871b31",
"rgb": {
"r": 135,
"g": 27,
"b": 49
},
"hsl": {
"h": 347.778,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41285,
"c": 0.1421,
"h": 15.2
},
"luminance": 0.06157
}Semantic roles & 50–950 ramp
primary
#871B31
secondary
#44BAA2
accent
#EAC73E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A