#8A271B#8A271B
#8A271B is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 30.4°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A271B |
|---|---|
| RGB | rgb(138, 39, 27) |
| HSL | hsl(6, 67%, 32%) |
| HSV | hsv(6, 80%, 54%) |
| CMYK | cmyk(0%, 71.7%, 80.4%, 45.9%) |
| CIE-LAB | lab(31.66, 41.20, 31.46) |
| CIE-LCH | lch(31.66, 51.84, 37.37°) |
| OKLab | oklab(42.66% 0.1174 0.0688) |
| OKLCH | oklch(42.66% 0.136 30.4) |
| XYZ | xyz(11.4059, 6.9352, 1.7747) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.33
Indian Red
#850E04
ΔE00 4.24
Crimson (survey)
#8C000F
ΔE00 4.29
Brick Red
#8F1402
ΔE00 4.40
Darkred
#8B0000
ΔE00 4.79
Carmine
#9D0216
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A271B #1B7E8A
analogous
#8A1B47 #8A271B #8A5E1B
triadic
#8A271B #1B8A27 #271B8A
tetradic
#8A271B #478A1B #1B7E8A #5E1B8A
square
#8A271B #478A1B #1B7E8A #5E1B8A
split-complementary
#8A271B #1B8A5E #1B478A
monochromatic
#240A07 #571911 #8A271B #BD3525 #DB5545
Accessibility & contrast
On white
8.80
#8A271B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A271B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A271B
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A271B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A271B | 1.00 | 8.80 | 2.39 | 8.80 |
| #FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#443D19
Deuteranopia (green-blind)
#5D5217
Tritanopia (blue-blind)
#980225
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a271b; /* rgb */ color: rgb(138, 39, 27); /* oklch */ color: oklch(42.7% 0.136 30.4);
Tailwind
colors: {
custom: {
50: '#b46858',
500: '#8a271b',
950: '#000000',
},
}SCSS
$custom: #8a271b; $custom-light: #b46858; $custom-dark: #000000;
JSON
{
"hex": "#8a271b",
"rgb": {
"r": 138,
"g": 39,
"b": 27
},
"hsl": {
"h": 6.486,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.42663,
"c": 0.13606,
"h": 30.4
},
"luminance": 0.06933
}Semantic roles & 50–950 ramp
primary
#8A271B
secondary
#45AFBC
accent
#D8EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78