#8A162A#8A162A
#8A162A is a dark, vivid red. Relative luminance 0.061; OKLCH L 41.3% C 0.149 H 18.4°. Best body text is #FFFFFF at 9.42:1 contrast (WCAG AA passes).
Color values
| HEX | #8A162A |
|---|---|
| RGB | rgb(138, 22, 42) |
| HSL | hsl(350, 73%, 31%) |
| HSV | hsv(350, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 69.6%, 45.9%) |
| CIE-LAB | lab(29.78, 47.72, 19.98) |
| CIE-LCH | lch(29.78, 51.73, 22.72°) |
| OKLab | oklab(41.33% 0.1415 0.047) |
| OKLCH | oklch(41.33% 0.149 18.4) |
| XYZ | xyz(11.1873, 6.1460, 2.7873) |
| Luminance | 0.0614 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.03
Wine Red
#7B0323
ΔE00 3.78
Red Wine
#8C0034
ΔE00 5.07
Cranberry
#9E003A
ΔE00 5.72
Bordeaux
#7B002C
ΔE00 5.88
Rouge
#AB1239
ΔE00 6.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A162A #168A76
analogous
#8A1664 #8A162A #8A3C16
triadic
#8A162A #2A8A16 #162A8A
tetradic
#8A162A #648A16 #168A76 #3C168A
square
#8A162A #648A16 #168A76 #3C168A
split-complementary
#8A162A #168A3C #16648A
monochromatic
#20050A #550E1A #8A162A #BF1E3A #E03B57
Accessibility & contrast
On white
9.42
#8A162A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A162A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A162A
9.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A162A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A162A | 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)
#3A372A
Deuteranopia (green-blind)
#574F26
Tritanopia (blue-blind)
#98001F
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a162a; /* rgb */ color: rgb(138, 22, 42); /* oklch */ color: oklch(41.3% 0.149 18.4);
Tailwind
colors: {
custom: {
50: '#b46163',
500: '#8a162a',
950: '#000000',
},
}SCSS
$custom: #8a162a; $custom-light: #b46163; $custom-dark: #000000;
JSON
{
"hex": "#8a162a",
"rgb": {
"r": 138,
"g": 22,
"b": 42
},
"hsl": {
"h": 349.655,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41331,
"c": 0.14908,
"h": 18.4
},
"luminance": 0.06144
}Semantic roles & 50–950 ramp
primary
#8A162A
secondary
#3EBEA8
accent
#EFD039
background
#FBF6F5
surface
#F7EBEA
border
#D0C6C6
text
#120605
muted
#817A79