#871B34#871B34
#871B34 is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.142 H 13.4°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #871B34 |
|---|---|
| RGB | rgb(135, 27, 52) |
| HSL | hsl(346, 67%, 32%) |
| HSV | hsv(346, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 61.5%, 47.1%) |
| CIE-LAB | lab(29.87, 45.97, 13.38) |
| CIE-LCH | lch(29.87, 47.88, 16.22°) |
| OKLab | oklab(41.35% 0.1384 0.033) |
| OKLCH | oklch(41.35% 0.142 13.4) |
| XYZ | xyz(11.0046, 6.1843, 3.8624) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 2.61
Bordeaux
#7B002C
ΔE00 3.95
Cranberry
#9E003A
ΔE00 4.40
Wine Red
#7B0323
ΔE00 4.41
Burgundy
#800020
ΔE00 5.09
Wine
#722F37
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B34 #1B876E
analogous
#871B6A #871B34 #87381B
triadic
#871B34 #34871B #1B3487
tetradic
#871B34 #6A871B #1B876E #381B87
square
#871B34 #6A871B #1B876E #381B87
split-complementary
#871B34 #1B8738 #1B6A87
monochromatic
#21070D #541120 #871B34 #BA2548 #D94366
Accessibility & contrast
On white
9.39
#871B34 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871B34 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B34
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B34 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B34 | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393834
Deuteranopia (green-blind)
#554E31
Tritanopia (blue-blind)
#940026
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b34; /* rgb */ color: rgb(135, 27, 52); /* oklch */ color: oklch(41.4% 0.142 13.4);
Tailwind
colors: {
custom: {
50: '#b0636b',
500: '#871b34',
950: '#000000',
},
}SCSS
$custom: #871b34; $custom-light: #b0636b; $custom-dark: #000000;
JSON
{
"hex": "#871b34",
"rgb": {
"r": 135,
"g": 27,
"b": 52
},
"hsl": {
"h": 346.111,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41354,
"c": 0.14229,
"h": 13.4
},
"luminance": 0.06183
}Semantic roles & 50–950 ramp
primary
#871B34
secondary
#44BA9F
accent
#EAC23E
background
#FBF6F6
surface
#F6EBEB
border
#D0C6C6
text
#120606
muted
#817A7A