#8A1D1B#8A1D1B
#8A1D1B is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 27.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1D1B |
|---|---|
| RGB | rgb(138, 29, 27) |
| HSL | hsl(1, 67%, 32%) |
| HSV | hsv(1, 80%, 54%) |
| CMYK | cmyk(0%, 79%, 80.4%, 45.9%) |
| CIE-LAB | lab(30.31, 44.93, 30.06) |
| CIE-LCH | lch(30.31, 54.06, 33.78°) |
| OKLab | oklab(41.66% 0.1291 0.0657) |
| OKLCH | oklch(41.66% 0.145 27) |
| XYZ | xyz(11.1198, 6.3629, 1.6794) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.75
Carmine
#9D0216
ΔE00 3.79
Indian Red
#850E04
ΔE00 4.49
Darkred
#8B0000
ΔE00 4.82
Dark Red
#840000
ΔE00 4.83
Maroon
#800000
ΔE00 4.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1D1B #1B888A
analogous
#8A1B51 #8A1D1B #8A551B
triadic
#8A1D1B #1B8A1D #1D1B8A
tetradic
#8A1D1B #518A1B #1B888A #551B8A
square
#8A1D1B #518A1B #1B888A #551B8A
split-complementary
#8A1D1B #1B8A55 #1B518A
monochromatic
#240707 #571211 #8A1D1B #BD2825 #DB4845
Accessibility & contrast
On white
9.24
#8A1D1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1D1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1D1B
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1D1B | 1.00 | 9.24 | 2.27 | 9.24 |
| #FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3F3819
Deuteranopia (green-blind)
#5A5016
Tritanopia (blue-blind)
#98001E
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1d1b; /* rgb */ color: rgb(138, 29, 27); /* oklch */ color: oklch(41.7% 0.145 27.0);
Tailwind
colors: {
custom: {
50: '#b56358',
500: '#8a1d1b',
950: '#000000',
},
}SCSS
$custom: #8a1d1b; $custom-light: #b56358; $custom-dark: #000000;
JSON
{
"hex": "#8a1d1b",
"rgb": {
"r": 138,
"g": 29,
"b": 27
},
"hsl": {
"h": 1.081,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41656,
"c": 0.14487,
"h": 27
},
"luminance": 0.06361
}Semantic roles & 50–950 ramp
primary
#8A1D1B
secondary
#45BABC
accent
#E7EA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78