#8B271A#8B271A
#8B271A is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.8% C 0.137 H 30.7°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8B271A |
|---|---|
| RGB | rgb(139, 39, 26) |
| HSL | hsl(7, 68%, 32%) |
| HSV | hsv(7, 81%, 55%) |
| CMYK | cmyk(0%, 71.9%, 81.3%, 45.5%) |
| CIE-LAB | lab(31.84, 41.51, 32.28) |
| CIE-LCH | lch(31.84, 52.59, 37.87°) |
| OKLab | oklab(42.83% 0.1181 0.0702) |
| OKLCH | oklch(42.83% 0.137 30.7) |
| XYZ | xyz(11.5608, 7.0163, 1.7226) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.02
Brick Red
#8F1402
ΔE00 4.11
Indian Red
#850E04
ΔE00 4.13
Crimson (survey)
#8C000F
ΔE00 4.37
Darkred
#8B0000
ΔE00 4.65
Blood Red
#980002
ΔE00 4.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B271A #1A7E8B
analogous
#8B1A45 #8B271A #8B601A
triadic
#8B271A #1A8B27 #271A8B
tetradic
#8B271A #458B1A #1A7E8B #601A8B
square
#8B271A #458B1A #1A7E8B #601A8B
split-complementary
#8B271A #1A8B60 #1A458B
monochromatic
#240A07 #571910 #8B271A #BF3524 #DC5543
Accessibility & contrast
On white
8.74
#8B271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8B271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B271A
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B271A | 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)
#443D18
Deuteranopia (green-blind)
#5D5316
Tritanopia (blue-blind)
#990125
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8b271a; /* rgb */ color: rgb(139, 39, 26); /* oklch */ color: oklch(42.8% 0.137 30.7);
Tailwind
colors: {
custom: {
50: '#b56858',
500: '#8b271a',
950: '#000000',
},
}SCSS
$custom: #8b271a; $custom-light: #b56858; $custom-dark: #000000;
JSON
{
"hex": "#8b271a",
"rgb": {
"r": 139,
"g": 39,
"b": 26
},
"hsl": {
"h": 6.903,
"s": 68.485,
"l": 32.353
},
"oklch": {
"l": 0.42834,
"c": 0.13733,
"h": 30.7
},
"luminance": 0.07015
}Semantic roles & 50–950 ramp
primary
#8B271A
secondary
#44AFBD
accent
#D7EB3C
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78