#871A2C#871A2C
#871A2C is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.143 H 17.8°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #871A2C |
|---|---|
| RGB | rgb(135, 26, 44) |
| HSL | hsl(350, 68%, 32%) |
| HSV | hsv(350, 81%, 53%) |
| CMYK | cmyk(0%, 80.7%, 67.4%, 47.1%) |
| CIE-LAB | lab(29.60, 45.77, 18.31) |
| CIE-LCH | lch(29.60, 49.29, 21.80°) |
| OKLab | oklab(41.1% 0.1361 0.0436) |
| OKLCH | oklch(41.1% 0.143 17.8) |
| XYZ | xyz(10.8169, 6.0732, 2.9851) |
| Luminance | 0.0607 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.21
Wine Red
#7B0323
ΔE00 3.54
Red Wine
#8C0034
ΔE00 4.70
Bordeaux
#7B002C
ΔE00 5.35
Cranberry
#9E003A
ΔE00 5.70
Wine
#722F37
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871A2C #1A8775
analogous
#871A63 #871A2C #873F1A
triadic
#871A2C #2C871A #1A2C87
tetradic
#871A2C #63871A #1A8775 #3F1A87
square
#871A2C #63871A #1A8775 #3F1A87
split-complementary
#871A2C #1A873F #1A6387
monochromatic
#20060B #54101B #871A2C #BA243D #DA415A
Accessibility & contrast
On white
9.48
#871A2C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.21
#871A2C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871A2C
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871A2C | 1.00 | 9.48 | 2.21 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#564E29
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871a2c; /* rgb */ color: rgb(135, 26, 44); /* oklch */ color: oklch(41.1% 0.143 17.8);
Tailwind
colors: {
custom: {
50: '#b16264',
500: '#871a2c',
950: '#000000',
},
}SCSS
$custom: #871a2c; $custom-light: #b16264; $custom-dark: #000000;
JSON
{
"hex": "#871a2c",
"rgb": {
"r": 135,
"g": 26,
"b": 44
},
"hsl": {
"h": 350.092,
"s": 67.702,
"l": 31.569
},
"oklch": {
"l": 0.41097,
"c": 0.14291,
"h": 17.8
},
"luminance": 0.06072
}Semantic roles & 50–950 ramp
primary
#871A2C
secondary
#42BAA7
accent
#EBCE3D
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120605
muted
#817A7A