#8A271D#8A271D
#8A271D is a dark, vivid red. Relative luminance 0.069; OKLCH L 42.7% C 0.136 H 29.5°. Best body text is #FFFFFF at 8.79:1 contrast (WCAG AA passes).
Color values
| HEX | #8A271D |
|---|---|
| RGB | rgb(138, 39, 29) |
| HSL | hsl(6, 65%, 33%) |
| HSV | hsv(6, 79%, 54%) |
| CMYK | cmyk(0%, 71.7%, 79%, 45.9%) |
| CIE-LAB | lab(31.68, 41.27, 30.33) |
| CIE-LCH | lch(31.68, 51.22, 36.31°) |
| OKLab | oklab(42.69% 0.1181 0.0669) |
| OKLCH | oklch(42.69% 0.136 29.5) |
| XYZ | xyz(11.4298, 6.9447, 1.9008) |
| Luminance | 0.0694 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Brown
#8B2E16
ΔE00 3.91
Crimson (survey)
#8C000F
ΔE00 4.20
Indian Red
#850E04
ΔE00 4.59
Carmine
#9D0216
ΔE00 4.69
Brick Red
#8F1402
ΔE00 4.93
Darkred
#8B0000
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A271D #1D808A
analogous
#8A1D49 #8A271D #8A5E1D
triadic
#8A271D #1D8A27 #271D8A
tetradic
#8A271D #498A1D #1D808A #5E1D8A
square
#8A271D #498A1D #1D808A #5E1D8A
split-complementary
#8A271D #1D8A5E #1D498A
monochromatic
#250A08 #571912 #8A271D #BD3528 #D95649
Accessibility & contrast
On white
8.79
#8A271D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8A271D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A271D
8.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A271D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A271D | 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)
#443D1B
Deuteranopia (green-blind)
#5C5219
Tritanopia (blue-blind)
#980326
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a271d; /* rgb */ color: rgb(138, 39, 29); /* oklch */ color: oklch(42.7% 0.136 29.5);
Tailwind
colors: {
custom: {
50: '#b4685a',
500: '#8a271d',
950: '#000000',
},
}SCSS
$custom: #8a271d; $custom-light: #b4685a; $custom-dark: #000000;
JSON
{
"hex": "#8a271d",
"rgb": {
"r": 138,
"g": 39,
"b": 29
},
"hsl": {
"h": 5.505,
"s": 65.269,
"l": 32.745
},
"oklch": {
"l": 0.42686,
"c": 0.13569,
"h": 29.5
},
"luminance": 0.06943
}Semantic roles & 50–950 ramp
primary
#8A271D
secondary
#48B0BB
accent
#D9E840
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#120603
muted
#817A78