#871B28#871B28
#871B28 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.1% C 0.142 H 20.2°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).
Color values
| HEX | #871B28 |
|---|---|
| RGB | rgb(135, 27, 40) |
| HSL | hsl(353, 67%, 32%) |
| HSV | hsv(353, 80%, 53%) |
| CMYK | cmyk(0%, 80%, 70.4%, 47.1%) |
| CIE-LAB | lab(29.64, 45.22, 20.98) |
| CIE-LCH | lch(29.64, 49.85, 24.89°) |
| OKLab | oklab(41.1% 0.1335 0.0491) |
| OKLCH | oklch(41.1% 0.142 20.2) |
| XYZ | xyz(10.7678, 6.0896, 2.6155) |
| Luminance | 0.0609 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.13
Wine Red
#7B0323
ΔE00 4.11
Red Wine
#8C0034
ΔE00 6.24
Crimson (survey)
#8C000F
ΔE00 6.60
Bordeaux
#7B002C
ΔE00 6.66
Cranberry
#9E003A
ΔE00 6.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871B28 #1B877A
analogous
#871B5E #871B28 #87441B
triadic
#871B28 #28871B #1B2887
tetradic
#871B28 #5E871B #1B877A #441B87
square
#871B28 #5E871B #1B877A #441B87
split-complementary
#871B28 #1B8744 #1B5E87
monochromatic
#21070A #541119 #871B28 #BA2537 #D94355
Accessibility & contrast
On white
9.47
#871B28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.22
#871B28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871B28
9.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871B28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871B28 | 1.00 | 9.47 | 2.22 | 9.47 |
| #FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3728
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#950021
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871b28; /* rgb */ color: rgb(135, 27, 40); /* oklch */ color: oklch(41.1% 0.142 20.2);
Tailwind
colors: {
custom: {
50: '#b16261',
500: '#871b28',
950: '#000000',
},
}SCSS
$custom: #871b28; $custom-light: #b16261; $custom-dark: #000000;
JSON
{
"hex": "#871b28",
"rgb": {
"r": 135,
"g": 27,
"b": 40
},
"hsl": {
"h": 352.778,
"s": 66.667,
"l": 31.765
},
"oklch": {
"l": 0.41104,
"c": 0.14218,
"h": 20.2
},
"luminance": 0.06088
}Semantic roles & 50–950 ramp
primary
#871B28
secondary
#44BAAC
accent
#EAD53E
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79