#8A162B#8A162B
#8A162B is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.3% C 0.149 H 17.9°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8A162B |
|---|---|
| RGB | rgb(138, 22, 43) |
| HSL | hsl(349, 73%, 31%) |
| HSV | hsv(349, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 68.8%, 45.9%) |
| CIE-LAB | lab(29.80, 47.77, 19.35) |
| CIE-LCH | lch(29.80, 51.54, 22.05°) |
| OKLab | oklab(41.35% 0.1419 0.0457) |
| OKLCH | oklch(41.35% 0.149 17.9) |
| XYZ | xyz(11.2055, 6.1533, 2.8827) |
| Luminance | 0.0615 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.13
Wine Red
#7B0323
ΔE00 3.71
Red Wine
#8C0034
ΔE00 4.73
Cranberry
#9E003A
ΔE00 5.44
Bordeaux
#7B002C
ΔE00 5.61
Rouge
#AB1239
ΔE00 6.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A162B #168A75
analogous
#8A1665 #8A162B #8A3B16
triadic
#8A162B #2B8A16 #162B8A
tetradic
#8A162B #658A16 #168A75 #3B168A
square
#8A162B #658A16 #168A75 #3B168A
split-complementary
#8A162B #168A3B #16658A
monochromatic
#20050A #550E1B #8A162B #BF1E3B #E03B59
Accessibility & contrast
On white
9.42
#8A162B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A162B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A162B
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A162B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A162B | 1.00 | 9.42 | 2.23 | 9.42 |
| #FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372B
Deuteranopia (green-blind)
#574F27
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a162b; /* rgb */ color: rgb(138, 22, 43); /* oklch */ color: oklch(41.3% 0.149 17.9);
Tailwind
colors: {
custom: {
50: '#b46164',
500: '#8a162b',
950: '#000000',
},
}SCSS
$custom: #8a162b; $custom-light: #b46164; $custom-dark: #000000;
JSON
{
"hex": "#8a162b",
"rgb": {
"r": 138,
"g": 22,
"b": 43
},
"hsl": {
"h": 349.138,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.4135,
"c": 0.14907,
"h": 17.9
},
"luminance": 0.06152
}Semantic roles & 50–950 ramp
primary
#8A162B
secondary
#3EBEA7
accent
#EFCE39
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79