#8A162C#8A162C
#8A162C is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.149 H 17.3°. Best body text is #FFFFFF at 9.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8A162C |
|---|---|
| RGB | rgb(138, 22, 44) |
| HSL | hsl(349, 73%, 31%) |
| HSV | hsv(349, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 68.1%, 45.9%) |
| CIE-LAB | lab(29.81, 47.83, 18.71) |
| CIE-LCH | lch(29.81, 51.36, 21.37°) |
| OKLab | oklab(41.37% 0.1423 0.0444) |
| OKLCH | oklch(41.37% 0.149 17.3) |
| XYZ | xyz(11.2240, 6.1607, 2.9805) |
| Luminance | 0.0616 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.26
Wine Red
#7B0323
ΔE00 3.67
Red Wine
#8C0034
ΔE00 4.39
Cranberry
#9E003A
ΔE00 5.18
Bordeaux
#7B002C
ΔE00 5.35
Rouge
#AB1239
ΔE00 6.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A162C #168A74
analogous
#8A1666 #8A162C #8A3A16
triadic
#8A162C #2C8A16 #162C8A
tetradic
#8A162C #668A16 #168A74 #3A168A
square
#8A162C #668A16 #168A74 #3A168A
split-complementary
#8A162C #168A3A #16668A
monochromatic
#20050A #550E1B #8A162C #BF1E3D #E03B5A
Accessibility & contrast
On white
9.41
#8A162C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A162C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A162C
9.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A162C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A162C | 1.00 | 9.41 | 2.23 | 9.41 |
| #FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A372C
Deuteranopia (green-blind)
#574F29
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a162c; /* rgb */ color: rgb(138, 22, 44); /* oklch */ color: oklch(41.4% 0.149 17.3);
Tailwind
colors: {
custom: {
50: '#b36164',
500: '#8a162c',
950: '#000000',
},
}SCSS
$custom: #8a162c; $custom-light: #b36164; $custom-dark: #000000;
JSON
{
"hex": "#8a162c",
"rgb": {
"r": 138,
"g": 22,
"b": 44
},
"hsl": {
"h": 348.621,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41369,
"c": 0.14907,
"h": 17.3
},
"luminance": 0.06159
}Semantic roles & 50–950 ramp
primary
#8A162C
secondary
#3EBEA6
accent
#EFCD39
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A