#871F27#871F27
#871F27 is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.4% C 0.139 H 21.8°. Best body text is #FFFFFF at 9.31:1 contrast (WCAG AA passes).
Color values
| HEX | #871F27 |
|---|---|
| RGB | rgb(135, 31, 39) |
| HSL | hsl(355, 63%, 33%) |
| HSV | hsv(355, 77%, 53%) |
| CMYK | cmyk(0%, 77%, 71.1%, 47.1%) |
| CIE-LAB | lab(30.11, 43.81, 22.20) |
| CIE-LCH | lch(30.11, 49.11, 26.87°) |
| OKLab | oklab(41.45% 0.1287 0.0516) |
| OKLCH | oklch(41.45% 0.139 21.8) |
| XYZ | xyz(10.8491, 6.2790, 2.5598) |
| Luminance | 0.0628 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.89
Wine Red
#7B0323
ΔE00 5.02
Crimson (survey)
#8C000F
ΔE00 5.91
Carmine
#9D0216
ΔE00 6.34
Brown
#A52A2A
ΔE00 7.10
Red Wine
#8C0034
ΔE00 7.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F27 #1F877F
analogous
#871F5B #871F27 #874B1F
triadic
#871F27 #27871F #1F2787
tetradic
#871F27 #5B871F #1F877F #4B1F87
square
#871F27 #5B871F #1F877F #4B1F87
split-complementary
#871F27 #1F874B #1F5B87
monochromatic
#23080A #551419 #871F27 #B92A35 #D64B55
Accessibility & contrast
On white
9.31
#871F27 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.26
#871F27 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F27
9.31:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F27 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F27 | 1.00 | 9.31 | 2.26 | 9.31 |
| #FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.31 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3D3926
Deuteranopia (green-blind)
#574F24
Tritanopia (blue-blind)
#950023
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f27; /* rgb */ color: rgb(135, 31, 39); /* oklch */ color: oklch(41.4% 0.139 21.8);
Tailwind
colors: {
custom: {
50: '#b16461',
500: '#871f27',
950: '#000000',
},
}SCSS
$custom: #871f27; $custom-light: #b16461; $custom-dark: #000000;
JSON
{
"hex": "#871f27",
"rgb": {
"r": 135,
"g": 31,
"b": 39
},
"hsl": {
"h": 355.385,
"s": 62.651,
"l": 32.549
},
"oklch": {
"l": 0.41446,
"c": 0.13867,
"h": 21.8
},
"luminance": 0.06277
}Semantic roles & 50–950 ramp
primary
#871F27
secondary
#4AB8B0
accent
#E6D942
background
#FBF6F5
surface
#F6EBE9
border
#D0C6C5
text
#120605
muted
#817A79