#8B271F#8B271F
#8B271F is a dark, vivid red. Relative luminance 0.070; OKLCH L 42.9% C 0.136 H 28.7°. Best body text is #FFFFFF at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #8B271F |
|---|---|
| RGB | rgb(139, 39, 31) |
| HSL | hsl(4, 64%, 33%) |
| HSV | hsv(4, 78%, 55%) |
| CMYK | cmyk(0%, 71.9%, 77.7%, 45.5%) |
| CIE-LAB | lab(31.90, 41.71, 29.44) |
| CIE-LCH | lch(31.90, 51.05, 35.22°) |
| OKLab | oklab(42.89% 0.1197 0.0655) |
| OKLCH | oklch(42.89% 0.136 28.7) |
| XYZ | xyz(11.6216, 7.0407, 2.0431) |
| Luminance | 0.0704 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.22
Red Brown
#8B2E16
ΔE00 4.47
Carmine
#9D0216
ΔE00 4.48
Indian Red
#850E04
ΔE00 5.04
Brick Red
#8F1402
ΔE00 5.44
Brown
#A52A2A
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8B271F #1F838B
analogous
#8B1F4D #8B271F #8B5D1F
triadic
#8B271F #1F8B27 #271F8B
tetradic
#8B271F #4D8B1F #1F838B #5D1F8B
square
#8B271F #4D8B1F #1F838B #5D1F8B
split-complementary
#8B271F #1F8B5D #1F4D8B
monochromatic
#270B09 #591914 #8B271F #BD352A #D7574D
Accessibility & contrast
On white
8.72
#8B271F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8B271F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8B271F
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8B271F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8B271F | 1.00 | 8.72 | 2.41 | 8.72 |
| #FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1D
Deuteranopia (green-blind)
#5D531B
Tritanopia (blue-blind)
#990226
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8b271f; /* rgb */ color: rgb(139, 39, 31); /* oklch */ color: oklch(42.9% 0.136 28.7);
Tailwind
colors: {
custom: {
50: '#b5685b',
500: '#8b271f',
950: '#000000',
},
}SCSS
$custom: #8b271f; $custom-light: #b5685b; $custom-dark: #000000;
JSON
{
"hex": "#8b271f",
"rgb": {
"r": 139,
"g": 39,
"b": 31
},
"hsl": {
"h": 4.444,
"s": 63.529,
"l": 33.333
},
"oklch": {
"l": 0.42893,
"c": 0.13644,
"h": 28.7
},
"luminance": 0.07039
}Semantic roles & 50–950 ramp
primary
#8B271F
secondary
#4CB2BA
accent
#DAE741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130604
muted
#827A79