#8A1B1B#8A1B1B
#8A1B1B is a dark, vivid red. Relative luminance 0.063; OKLCH L 41.5% C 0.146 H 26.4°. Best body text is #FFFFFF at 9.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B1B |
|---|---|
| RGB | rgb(138, 27, 27) |
| HSL | hsl(0, 67%, 32%) |
| HSV | hsv(0, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 80.4%, 45.9%) |
| CIE-LAB | lab(30.08, 45.58, 29.82) |
| CIE-LCH | lch(30.08, 54.47, 33.19°) |
| OKLab | oklab(41.48% 0.1312 0.0652) |
| OKLCH | oklch(41.48% 0.146 26.4) |
| XYZ | xyz(11.0723, 6.2680, 1.6636) |
| Luminance | 0.0627 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Crimson (survey)
#8C000F
ΔE00 2.64
Carmine
#9D0216
ΔE00 3.75
Indian Red
#850E04
ΔE00 4.65
Dark Red
#840000
ΔE00 4.91
Darkred
#8B0000
ΔE00 4.95
Maroon
#800000
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B1B #1B8A8A
analogous
#8A1B53 #8A1B1B #8A531B
triadic
#8A1B1B #1B8A1B #1B1B8A
tetradic
#8A1B1B #538A1B #1B8A8A #531B8A
square
#8A1B1B #538A1B #1B8A8A #531B8A
split-complementary
#8A1B1B #1B8A53 #1B538A
monochromatic
#240707 #571111 #8A1B1B #BD2525 #DB4545
Accessibility & contrast
On white
9.32
#8A1B1B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.25
#8A1B1B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B1B
9.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B1B | 1.00 | 9.32 | 2.25 | 9.32 |
| #FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3E3719
Deuteranopia (green-blind)
#594F16
Tritanopia (blue-blind)
#99001D
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1b1b; /* rgb */ color: rgb(138, 27, 27); /* oklch */ color: oklch(41.5% 0.146 26.4);
Tailwind
colors: {
custom: {
50: '#b56358',
500: '#8a1b1b',
950: '#000000',
},
}SCSS
$custom: #8a1b1b; $custom-light: #b56358; $custom-dark: #000000;
JSON
{
"hex": "#8a1b1b",
"rgb": {
"r": 138,
"g": 27,
"b": 27
},
"hsl": {
"h": 0,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41484,
"c": 0.14646,
"h": 26.4
},
"luminance": 0.06266
}Semantic roles & 50–950 ramp
primary
#8A1B1B
secondary
#45BCBC
accent
#EAEA3E
background
#FCF6F5
surface
#F8EBE9
border
#D1C6C5
text
#130603
muted
#827A78