#871A2A#871A2A
#871A2A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.143 H 18.9°. Best body text is #FFFFFF at 9.50:1 contrast (WCAG AA passes).
Color values
| HEX | #871A2A |
|---|---|
| RGB | rgb(135, 26, 42) |
| HSL | hsl(351, 68%, 32%) |
| HSV | hsv(351, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 68.9%, 47.1%) |
| CIE-LAB | lab(29.56, 45.65, 19.58) |
| CIE-LCH | lch(29.56, 49.67, 23.21°) |
| OKLab | oklab(41.06% 0.1353 0.0462) |
| OKLCH | oklch(41.06% 0.143 18.9) |
| XYZ | xyz(10.7802, 6.0585, 2.7918) |
| Luminance | 0.0606 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.01
Wine Red
#7B0323
ΔE00 3.68
Red Wine
#8C0034
ΔE00 5.38
Bordeaux
#7B002C
ΔE00 5.90
Cranberry
#9E003A
ΔE00 6.23
Wine
#722F37
ΔE00 6.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A2A #1A8777
analogous
#871A61 #871A2A #87411A
triadic
#871A2A #2A871A #1A2A87
tetradic
#871A2A #61871A #1A8777 #411A87
square
#871A2A #61871A #1A8777 #411A87
split-complementary
#871A2A #1A8741 #1A6187
monochromatic
#20060A #54101A #871A2A #BA243A #DA4158
Accessibility & contrast
On white
9.50
#871A2A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#871A2A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A2A
9.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A2A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A2A | 1.00 | 9.50 | 2.21 | 9.50 |
| #FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.50 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B372A
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871a2a; /* rgb */ color: rgb(135, 26, 42); /* oklch */ color: oklch(41.1% 0.143 18.9);
Tailwind
colors: {
custom: {
50: '#b16263',
500: '#871a2a',
950: '#000000',
},
}SCSS
$custom: #871a2a; $custom-light: #b16263; $custom-dark: #000000;
JSON
{
"hex": "#871a2a",
"rgb": {
"r": 135,
"g": 26,
"b": 42
},
"hsl": {
"h": 351.193,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.41057,
"c": 0.14295,
"h": 18.9
},
"luminance": 0.06057
}Semantic roles & 50–950 ramp
primary
#871A2A
secondary
#42BAA9
accent
#EBD13D
background
#FBF6F5
surface
#F6EBEA
border
#D0C6C6
text
#120605
muted
#817A79