#871B27#871B27
#871B27 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 20.7°. Best body text is #FFFFFF at 9.48:1 contrast (WCAG AA passes).
Color values
| HEX | #871B27 |
|---|---|
| RGB | rgb(135, 27, 39) |
| HSL | hsl(353, 67%, 32%) |
| HSV | hsv(353, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 71.1%, 47.1%) |
| CIE-LAB | lab(29.62, 45.17, 21.61) |
| CIE-LCH | lch(29.62, 50.07, 25.56°) |
| OKLab | oklab(41.09% 0.133 0.0503) |
| OKLCH | oklch(41.09% 0.142 20.7) |
| XYZ | xyz(10.7510, 6.0829, 2.5271) |
| Luminance | 0.0608 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.20
Wine Red
#7B0323
ΔE00 4.29
Crimson (survey)
#8C000F
ΔE00 6.26
Red Wine
#8C0034
ΔE00 6.59
Carmine
#9D0216
ΔE00 6.73
Bordeaux
#7B002C
ΔE00 6.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B27 #1B877B
analogous
#871B5D #871B27 #87451B
triadic
#871B27 #27871B #1B2787
tetradic
#871B27 #5D871B #1B877B #451B87
square
#871B27 #5D871B #1B877B #451B87
split-complementary
#871B27 #1B8745 #1B5D87
monochromatic
#21070A #541118 #871B27 #BA2536 #D94354
Accessibility & contrast
On white
9.48
#871B27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#871B27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B27
9.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B27 | 1.00 | 9.48 | 2.22 | 9.48 |
| #FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3727
Deuteranopia (green-blind)
#564E24
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b27; /* rgb */ color: rgb(135, 27, 39); /* oklch */ color: oklch(41.1% 0.142 20.7);
Tailwind
colors: {
custom: {
50: '#b16261',
500: '#871b27',
950: '#000000',
},
}SCSS
$custom: #871b27; $custom-light: #b16261; $custom-dark: #000000;
JSON
{
"hex": "#871b27",
"rgb": {
"r": 135,
"g": 27,
"b": 39
},
"hsl": {
"h": 353.333,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41086,
"c": 0.14223,
"h": 20.7
},
"luminance": 0.06081
}Semantic roles & 50–950 ramp
primary
#871B27
secondary
#44BAAD
accent
#EAD73E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79