#8B271B#8B271B
#8B271B is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.137 H 30.3°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8B271B |
|---|---|
| RGB | rgb(139, 39, 27) |
| HSL | hsl(6, 67%, 33%) |
| HSV | hsv(6, 81%, 55%) |
| CMYK | cmyk(0%, 71.9%, 80.6%, 45.5%) |
| CIE-LAB | lab(31.85, 41.55, 31.72) |
| CIE-LCH | lch(31.85, 52.27, 37.37°) |
| OKLab | oklab(42.85% 0.1184 0.0693) |
| OKLCH | oklch(42.85% 0.137 30.3) |
| XYZ | xyz(11.5721, 7.0209, 1.7825) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.29
Indian Red
#850E04
ΔE00 4.28
Crimson (survey)
#8C000F
ΔE00 4.30
Brick Red
#8F1402
ΔE00 4.35
Carmine
#9D0216
ΔE00 4.73
Darkred
#8B0000
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B271B #1B7F8B
analogous
#8B1B47 #8B271B #8B5F1B
triadic
#8B271B #1B8B27 #271B8B
tetradic
#8B271B #478B1B #1B7F8B #5F1B8B
square
#8B271B #478B1B #1B7F8B #5F1B8B
split-complementary
#8B271B #1B8B5F #1B478B
monochromatic
#250A07 #581911 #8B271B #BE3525 #DB5545
Accessibility & contrast
On white
8.74
#8B271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8B271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B271B
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B271B | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D19
Deuteranopia (green-blind)
#5D5317
Tritanopia (blue-blind)
#990125
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8b271b; /* rgb */ color: rgb(139, 39, 27); /* oklch */ color: oklch(42.8% 0.137 30.3);
Tailwind
colors: {
custom: {
50: '#b56858',
500: '#8b271b',
950: '#000000',
},
}SCSS
$custom: #8b271b; $custom-light: #b56858; $custom-dark: #000000;
JSON
{
"hex": "#8b271b",
"rgb": {
"r": 139,
"g": 39,
"b": 27
},
"hsl": {
"h": 6.429,
"s": 67.47,
"l": 32.549
},
"oklch": {
"l": 0.42845,
"c": 0.13714,
"h": 30.3
},
"luminance": 0.07019
}Semantic roles & 50–950 ramp
primary
#8B271B
secondary
#45B0BC
accent
#D8EA3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78