#8A271E#8A271E
#8A271E is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 29.1°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A271E |
|---|---|
| RGB | rgb(138, 39, 30) |
| HSL | hsl(5, 64%, 33%) |
| HSV | hsv(5, 78%, 54%) |
| CMYK | cmyk(0%, 71.7%, 78.3%, 45.9%) |
| CIE-LAB | lab(31.69, 41.32, 29.75) |
| CIE-LCH | lch(31.69, 50.91, 35.76°) |
| OKLab | oklab(42.7% 0.1184 0.066) |
| OKLCH | oklch(42.7% 0.136 29.1) |
| XYZ | xyz(11.4424, 6.9498, 1.9670) |
| Luminance | 0.0695 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 4.20
Red Brown
#8B2E16
ΔE00 4.21
Carmine
#9D0216
ΔE00 4.64
Indian Red
#850E04
ΔE00 4.80
Brick Red
#8F1402
ΔE00 5.21
Darkred
#8B0000
ΔE00 5.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A271E #1E818A
analogous
#8A1E4B #8A271E #8A5D1E
triadic
#8A271E #1E8A27 #271E8A
tetradic
#8A271E #4B8A1E #1E818A #5D1E8A
square
#8A271E #4B8A1E #1E818A #5D1E8A
split-complementary
#8A271E #1E8A5D #1E4B8A
monochromatic
#250B08 #581913 #8A271E #BC3529 #D8564B
Accessibility & contrast
On white
8.79
#8A271E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A271E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A271E
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A271E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A271E | 1.00 | 8.79 | 2.39 | 8.79 |
| #FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D1C
Deuteranopia (green-blind)
#5C531A
Tritanopia (blue-blind)
#980326
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a271e; /* rgb */ color: rgb(138, 39, 30); /* oklch */ color: oklch(42.7% 0.136 29.1);
Tailwind
colors: {
custom: {
50: '#b4685a',
500: '#8a271e',
950: '#000000',
},
}SCSS
$custom: #8a271e; $custom-light: #b4685a; $custom-dark: #000000;
JSON
{
"hex": "#8a271e",
"rgb": {
"r": 138,
"g": 39,
"b": 30
},
"hsl": {
"h": 5,
"s": 64.286,
"l": 32.941
},
"oklch": {
"l": 0.42699,
"c": 0.13553,
"h": 29.1
},
"luminance": 0.06948
}Semantic roles & 50–950 ramp
primary
#8A271E
secondary
#4AB1BA
accent
#D9E741
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120604
muted
#817A79