#871F1C#871F1C
#871F1C is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.140 H 27.1°. Best body text is #FFFFFF at 9.36:1 contrast (WCAG AA passes).
Color values
| HEX | #871F1C |
|---|---|
| RGB | rgb(135, 31, 28) |
| HSL | hsl(2, 66%, 32%) |
| HSV | hsv(2, 79%, 53%) |
| CMYK | cmyk(0%, 77%, 79.3%, 47.1%) |
| CIE-LAB | lab(29.95, 43.30, 28.90) |
| CIE-LCH | lch(29.95, 52.06, 33.72°) |
| OKLab | oklab(41.28% 0.1246 0.0638) |
| OKLCH | oklch(41.28% 0.14 27.1) |
| XYZ | xyz(10.6925, 6.2164, 1.7353) |
| Luminance | 0.0621 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 3.15
Carmine
#9D0216
ΔE00 4.43
Indian Red
#850E04
ΔE00 4.65
Dark Red
#840000
ΔE00 5.00
Maroon
#800000
ΔE00 5.08
Darkred
#8B0000
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#871F1C #1C8487
analogous
#871C4F #871F1C #87551C
triadic
#871F1C #1C871F #1F1C87
tetradic
#871F1C #4F871C #1C8487 #551C87
square
#871F1C #4F871C #1C8487 #551C87
split-complementary
#871F1C #1C8755 #1C4F87
monochromatic
#220807 #541311 #871F1C #BA2B27 #D84945
Accessibility & contrast
On white
9.36
#871F1C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#871F1C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #871F1C
9.36:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##871F1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##871F1C | 1.00 | 9.36 | 2.24 | 9.36 |
| #FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.36 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F381A
Deuteranopia (green-blind)
#584F18
Tritanopia (blue-blind)
#950020
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #871f1c; /* rgb */ color: rgb(135, 31, 28); /* oklch */ color: oklch(41.3% 0.140 27.1);
Tailwind
colors: {
custom: {
50: '#b26459',
500: '#871f1c',
950: '#000000',
},
}SCSS
$custom: #871f1c; $custom-light: #b26459; $custom-dark: #000000;
JSON
{
"hex": "#871f1c",
"rgb": {
"r": 135,
"g": 31,
"b": 28
},
"hsl": {
"h": 1.682,
"s": 65.644,
"l": 31.961
},
"oklch": {
"l": 0.41283,
"c": 0.13993,
"h": 27.1
},
"luminance": 0.06215
}Semantic roles & 50–950 ramp
primary
#871F1C
secondary
#45B7BA
accent
#E4E93F
background
#FBF6F5
surface
#F7EBE9
border
#D0C6C5
text
#120603
muted
#817A78