#8A162E#8A162E
#8A162E is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.149 H 16.3°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8A162E |
|---|---|
| RGB | rgb(138, 22, 46) |
| HSL | hsl(348, 73%, 31%) |
| HSV | hsv(348, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 66.7%, 45.9%) |
| CIE-LAB | lab(29.85, 47.95, 17.44) |
| CIE-LCH | lch(29.85, 51.02, 19.99°) |
| OKLab | oklab(41.41% 0.1431 0.0418) |
| OKLCH | oklch(41.41% 0.149 16.3) |
| XYZ | xyz(11.2625, 6.1761, 3.1833) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.62
Wine Red
#7B0323
ΔE00 3.71
Red Wine
#8C0034
ΔE00 3.71
Cranberry
#9E003A
ΔE00 4.69
Bordeaux
#7B002C
ΔE00 4.88
Rouge
#AB1239
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A162E #168A72
analogous
#8A1668 #8A162E #8A3816
triadic
#8A162E #2E8A16 #162E8A
tetradic
#8A162E #688A16 #168A72 #38168A
square
#8A162E #688A16 #168A72 #38168A
split-complementary
#8A162E #168A38 #16688A
monochromatic
#20050B #550E1C #8A162E #BF1E40 #E03B5D
Accessibility & contrast
On white
9.40
#8A162E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A162E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A162E
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A162E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A162E | 1.00 | 9.40 | 2.23 | 9.40 |
| #FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39372E
Deuteranopia (green-blind)
#564F2B
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a162e; /* rgb */ color: rgb(138, 22, 46); /* oklch */ color: oklch(41.4% 0.149 16.3);
Tailwind
colors: {
custom: {
50: '#b36166',
500: '#8a162e',
950: '#000000',
},
}SCSS
$custom: #8a162e; $custom-light: #b36166; $custom-dark: #000000;
JSON
{
"hex": "#8a162e",
"rgb": {
"r": 138,
"g": 22,
"b": 46
},
"hsl": {
"h": 347.586,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.4141,
"c": 0.14909,
"h": 16.3
},
"luminance": 0.06174
}Semantic roles & 50–950 ramp
primary
#8A162E
secondary
#3EBEA3
accent
#EFC939
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A