#8A271C#8A271C
#8A271C is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 30.0°. Best body text is #FFFFFF at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #8A271C |
|---|---|
| RGB | rgb(138, 39, 28) |
| HSL | hsl(6, 66%, 33%) |
| HSV | hsv(6, 80%, 54%) |
| CMYK | cmyk(0%, 71.7%, 79.7%, 45.9%) |
| CIE-LAB | lab(31.67, 41.24, 30.90) |
| CIE-LCH | lch(31.67, 51.53, 36.84°) |
| OKLab | oklab(42.67% 0.1177 0.0679) |
| OKLCH | oklch(42.67% 0.136 30) |
| XYZ | xyz(11.4177, 6.9399, 1.8367) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.61
Crimson (survey)
#8C000F
ΔE00 4.23
Indian Red
#850E04
ΔE00 4.40
Brick Red
#8F1402
ΔE00 4.66
Carmine
#9D0216
ΔE00 4.76
Darkred
#8B0000
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A271C #1C7F8A
analogous
#8A1C48 #8A271C #8A5E1C
triadic
#8A271C #1C8A27 #271C8A
tetradic
#8A271C #488A1C #1C7F8A #5E1C8A
square
#8A271C #488A1C #1C7F8A #5E1C8A
split-complementary
#8A271C #1C8A5E #1C488A
monochromatic
#240A07 #571912 #8A271C #BD3526 #DA5547
Accessibility & contrast
On white
8.80
#8A271C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A271C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A271C
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A271C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A271C | 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)
#443D1A
Deuteranopia (green-blind)
#5C5218
Tritanopia (blue-blind)
#980225
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8a271c; /* rgb */ color: rgb(138, 39, 28); /* oklch */ color: oklch(42.7% 0.136 30.0);
Tailwind
colors: {
custom: {
50: '#b46859',
500: '#8a271c',
950: '#000000',
},
}SCSS
$custom: #8a271c; $custom-light: #b46859; $custom-dark: #000000;
JSON
{
"hex": "#8a271c",
"rgb": {
"r": 138,
"g": 39,
"b": 28
},
"hsl": {
"h": 6,
"s": 66.265,
"l": 32.549
},
"oklch": {
"l": 0.42674,
"c": 0.13588,
"h": 30
},
"luminance": 0.06938
}Semantic roles & 50–950 ramp
primary
#8A271C
secondary
#46B0BB
accent
#D8E93F
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78