#8A271A#8A271A
#8A271A is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 30.8°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A271A |
|---|---|
| RGB | rgb(138, 39, 26) |
| HSL | hsl(7, 68%, 32%) |
| HSV | hsv(7, 81%, 54%) |
| CMYK | cmyk(0%, 71.7%, 81.2%, 45.9%) |
| CIE-LAB | lab(31.65, 41.16, 32.02) |
| CIE-LCH | lch(31.65, 52.15, 37.88°) |
| OKLab | oklab(42.65% 0.1171 0.0697) |
| OKLCH | oklch(42.65% 0.136 30.8) |
| XYZ | xyz(11.3945, 6.9306, 1.7148) |
| Luminance | 0.0693 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.05
Indian Red
#850E04
ΔE00 4.09
Brick Red
#8F1402
ΔE00 4.16
Crimson (survey)
#8C000F
ΔE00 4.37
Darkred
#8B0000
ΔE00 4.65
Blood Red
#980002
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A271A #1A7D8A
analogous
#8A1A45 #8A271A #8A5F1A
triadic
#8A271A #1A8A27 #271A8A
tetradic
#8A271A #458A1A #1A7D8A #5F1A8A
square
#8A271A #458A1A #1A7D8A #5F1A8A
split-complementary
#8A271A #1A8A5F #1A458A
monochromatic
#230A07 #571810 #8A271A #BD3624 #DC5543
Accessibility & contrast
On white
8.80
#8A271A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A271A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A271A
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A271A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A271A | 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)
#443D18
Deuteranopia (green-blind)
#5D5216
Tritanopia (blue-blind)
#980225
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a271a; /* rgb */ color: rgb(138, 39, 26); /* oklch */ color: oklch(42.7% 0.136 30.8);
Tailwind
colors: {
custom: {
50: '#b46858',
500: '#8a271a',
950: '#000000',
},
}SCSS
$custom: #8a271a; $custom-light: #b46858; $custom-dark: #000000;
JSON
{
"hex": "#8a271a",
"rgb": {
"r": 138,
"g": 39,
"b": 26
},
"hsl": {
"h": 6.964,
"s": 68.293,
"l": 32.157
},
"oklch": {
"l": 0.42652,
"c": 0.13623,
"h": 30.8
},
"luminance": 0.06929
}Semantic roles & 50–950 ramp
primary
#8A271A
secondary
#43AFBD
accent
#D7EB3D
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78