#871C28#871C28
#871C28 is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.2% C 0.141 H 20.4°. Best body text is #FFFFFF at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #871C28 |
|---|---|
| RGB | rgb(135, 28, 40) |
| HSL | hsl(353, 66%, 32%) |
| HSV | hsv(353, 79%, 53%) |
| CMYK | cmyk(0%, 79.3%, 70.4%, 47.1%) |
| CIE-LAB | lab(29.75, 44.90, 21.12) |
| CIE-LCH | lch(29.75, 49.62, 25.20°) |
| OKLab | oklab(41.19% 0.1324 0.0494) |
| OKLCH | oklch(41.19% 0.141 20.4) |
| XYZ | xyz(10.7911, 6.1363, 2.6233) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.27
Wine Red
#7B0323
ΔE00 4.27
Red Wine
#8C0034
ΔE00 6.42
Crimson (survey)
#8C000F
ΔE00 6.51
Bordeaux
#7B002C
ΔE00 6.84
Carmine
#9D0216
ΔE00 6.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871C28 #1C877B
analogous
#871C5E #871C28 #87461C
triadic
#871C28 #28871C #1C2887
tetradic
#871C28 #5E871C #1C877B #461C87
square
#871C28 #5E871C #1C877B #461C87
split-complementary
#871C28 #1C8746 #1C5E87
monochromatic
#22070A #541119 #871C28 #BA2737 #D84556
Accessibility & contrast
On white
9.43
#871C28 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#871C28 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871C28
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871C28 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871C28 | 1.00 | 9.43 | 2.23 | 9.43 |
| #FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3C3828
Deuteranopia (green-blind)
#564E25
Tritanopia (blue-blind)
#950022
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #871c28; /* rgb */ color: rgb(135, 28, 40); /* oklch */ color: oklch(41.2% 0.141 20.4);
Tailwind
colors: {
custom: {
50: '#b16361',
500: '#871c28',
950: '#000000',
},
}SCSS
$custom: #871c28; $custom-light: #b16361; $custom-dark: #000000;
JSON
{
"hex": "#871c28",
"rgb": {
"r": 135,
"g": 28,
"b": 40
},
"hsl": {
"h": 353.271,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.4119,
"c": 0.14131,
"h": 20.4
},
"luminance": 0.06135
}Semantic roles & 50–950 ramp
primary
#871C28
secondary
#45BAAD
accent
#E9D63F
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79