#871B2A#871B2A
#871B2A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 19.1°. Best body text is #FFFFFF at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #871B2A |
|---|---|
| RGB | rgb(135, 27, 42) |
| HSL | hsl(352, 67%, 32%) |
| HSV | hsv(352, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 68.9%, 47.1%) |
| CIE-LAB | lab(29.67, 45.33, 19.72) |
| CIE-LCH | lch(29.67, 49.44, 23.51°) |
| OKLab | oklab(41.14% 0.1343 0.0465) |
| OKLCH | oklch(41.14% 0.142 19.1) |
| XYZ | xyz(10.8027, 6.1036, 2.7993) |
| Luminance | 0.0610 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.11
Wine Red
#7B0323
ΔE00 3.82
Red Wine
#8C0034
ΔE00 5.55
Bordeaux
#7B002C
ΔE00 6.07
Cranberry
#9E003A
ΔE00 6.34
Wine
#722F37
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B2A #1B8778
analogous
#871B60 #871B2A #87421B
triadic
#871B2A #2A871B #1B2A87
tetradic
#871B2A #60871B #1B8778 #421B87
square
#871B2A #60871B #1B8778 #421B87
split-complementary
#871B2A #1B8742 #1B6087
monochromatic
#21070A #54111A #871B2A #BA253A #D94358
Accessibility & contrast
On white
9.46
#871B2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#871B2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B2A
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B2A | 1.00 | 9.46 | 2.22 | 9.46 |
| #FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b2a; /* rgb */ color: rgb(135, 27, 42); /* oklch */ color: oklch(41.1% 0.142 19.1);
Tailwind
colors: {
custom: {
50: '#b16263',
500: '#871b2a',
950: '#000000',
},
}SCSS
$custom: #871b2a; $custom-light: #b16263; $custom-dark: #000000;
JSON
{
"hex": "#871b2a",
"rgb": {
"r": 135,
"g": 27,
"b": 42
},
"hsl": {
"h": 351.667,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41141,
"c": 0.14209,
"h": 19.1
},
"luminance": 0.06102
}Semantic roles & 50–950 ramp
primary
#871B2A
secondary
#44BAAA
accent
#EAD23E
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79