#8A162D#8A162D
#8A162D is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.149 H 16.8°. Best body text is #FFFFFF at 9.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8A162D |
|---|---|
| RGB | rgb(138, 22, 45) |
| HSL | hsl(348, 73%, 31%) |
| HSV | hsv(348, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 67.4%, 45.9%) |
| CIE-LAB | lab(29.83, 47.89, 18.08) |
| CIE-LCH | lch(29.83, 51.19, 20.68°) |
| OKLab | oklab(41.39% 0.1427 0.0431) |
| OKLCH | oklch(41.39% 0.149 16.8) |
| XYZ | xyz(11.2430, 6.1683, 3.0807) |
| Luminance | 0.0617 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Burgundy
#800020
ΔE00 3.42
Wine Red
#7B0323
ΔE00 3.67
Red Wine
#8C0034
ΔE00 4.05
Cranberry
#9E003A
ΔE00 4.92
Bordeaux
#7B002C
ΔE00 5.11
Rouge
#AB1239
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A162D #168A73
analogous
#8A1667 #8A162D #8A3916
triadic
#8A162D #2D8A16 #162D8A
tetradic
#8A162D #678A16 #168A73 #39168A
square
#8A162D #678A16 #168A73 #39168A
split-complementary
#8A162D #168A39 #16678A
monochromatic
#20050B #550E1C #8A162D #BF1E3E #E03B5B
Accessibility & contrast
On white
9.40
#8A162D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.23
#8A162D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A162D
9.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A162D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A162D | 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)
#3A372D
Deuteranopia (green-blind)
#574F2A
Tritanopia (blue-blind)
#980020
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a162d; /* rgb */ color: rgb(138, 22, 45); /* oklch */ color: oklch(41.4% 0.149 16.8);
Tailwind
colors: {
custom: {
50: '#b36165',
500: '#8a162d',
950: '#000000',
},
}SCSS
$custom: #8a162d; $custom-light: #b36165; $custom-dark: #000000;
JSON
{
"hex": "#8a162d",
"rgb": {
"r": 138,
"g": 22,
"b": 45
},
"hsl": {
"h": 348.103,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41389,
"c": 0.14907,
"h": 16.8
},
"luminance": 0.06167
}Semantic roles & 50–950 ramp
primary
#8A162D
secondary
#3EBEA4
accent
#EFCB39
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120605
muted
#817A7A