#8A1B2B#8A1B2B
#8A1B2B is a dark, vivid red. Relative luminance 0.064; OKLCH L 41.7% C 0.145 H 19.0°. Best body text is #FFFFFF at 9.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8A1B2B |
|---|---|
| RGB | rgb(138, 27, 43) |
| HSL | hsl(351, 67%, 32%) |
| HSV | hsv(351, 80%, 54%) |
| CMYK | cmyk(0%, 80.4%, 68.8%, 45.9%) |
| CIE-LAB | lab(30.31, 46.32, 20.00) |
| CIE-LCH | lch(30.31, 50.45, 23.35°) |
| OKLab | oklab(41.73% 0.1372 0.0472) |
| OKLCH | oklch(41.73% 0.145 19) |
| XYZ | xyz(11.3105, 6.3633, 2.9177) |
| Luminance | 0.0636 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.49
Wine Red
#7B0323
ΔE00 4.25
Red Wine
#8C0034
ΔE00 5.50
Cranberry
#9E003A
ΔE00 5.96
Bordeaux
#7B002C
ΔE00 6.34
Rouge
#AB1239
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A1B2B #1B8A7A
analogous
#8A1B63 #8A1B2B #8A421B
triadic
#8A1B2B #2B8A1B #1B2B8A
tetradic
#8A1B2B #638A1B #1B8A7A #421B8A
square
#8A1B2B #638A1B #1B8A7A #421B8A
split-complementary
#8A1B2B #1B8A42 #1B638A
monochromatic
#24070B #57111B #8A1B2B #BD253B #DB455A
Accessibility & contrast
On white
9.24
#8A1B2B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A1B2B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A1B2B
9.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A1B2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A1B2B | 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)
#3C382B
Deuteranopia (green-blind)
#585028
Tritanopia (blue-blind)
#980022
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a1b2b; /* rgb */ color: rgb(138, 27, 43); /* oklch */ color: oklch(41.7% 0.145 19.0);
Tailwind
colors: {
custom: {
50: '#b36364',
500: '#8a1b2b',
950: '#000000',
},
}SCSS
$custom: #8a1b2b; $custom-light: #b36364; $custom-dark: #000000;
JSON
{
"hex": "#8a1b2b",
"rgb": {
"r": 138,
"g": 27,
"b": 43
},
"hsl": {
"h": 351.351,
"s": 67.273,
"l": 32.353
},
"oklch": {
"l": 0.41731,
"c": 0.14509,
"h": 19
},
"luminance": 0.06362
}Semantic roles & 50–950 ramp
primary
#8A1B2B
secondary
#45BCAB
accent
#EAD13E
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79