#8A162F#8A162F
#8A162F is a dark, vivid red. Relative luminance 0.062; OKLCH L 41.4% C 0.149 H 15.7°. Best body text is #FFFFFF at 9.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8A162F |
|---|---|
| RGB | rgb(138, 22, 47) |
| HSL | hsl(347, 73%, 31%) |
| HSV | hsv(347, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 65.9%, 45.9%) |
| CIE-LAB | lab(29.87, 48.01, 16.81) |
| CIE-LCH | lch(29.87, 50.86, 19.30°) |
| OKLab | oklab(41.43% 0.1435 0.0404) |
| OKLCH | oklch(41.43% 0.149 15.7) |
| XYZ | xyz(11.2825, 6.1841, 3.2883) |
| Luminance | 0.0618 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Red Wine
#8C0034
ΔE00 3.39
Wine Red
#7B0323
ΔE00 3.78
Burgundy
#800020
ΔE00 3.84
Cranberry
#9E003A
ΔE00 4.47
Bordeaux
#7B002C
ΔE00 4.66
Rouge
#AB1239
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A162F #168A71
analogous
#8A1669 #8A162F #8A3716
triadic
#8A162F #2F8A16 #162F8A
tetradic
#8A162F #698A16 #168A71 #37168A
square
#8A162F #698A16 #168A71 #37168A
split-complementary
#8A162F #168A37 #16698A
monochromatic
#20050B #550E1D #8A162F #BF1E41 #E03B5E
Accessibility & contrast
On white
9.39
#8A162F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.24
#8A162F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A162F
9.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A162F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A162F | 1.00 | 9.39 | 2.24 | 9.39 |
| #FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#39372F
Deuteranopia (green-blind)
#564F2C
Tritanopia (blue-blind)
#980021
Achromatopsia (no color)
#464646
Design tokens & code
CSS
--color: #8a162f; /* rgb */ color: rgb(138, 22, 47); /* oklch */ color: oklch(41.4% 0.149 15.7);
Tailwind
colors: {
custom: {
50: '#b36167',
500: '#8a162f',
950: '#000000',
},
}SCSS
$custom: #8a162f; $custom-light: #b36167; $custom-dark: #000000;
JSON
{
"hex": "#8a162f",
"rgb": {
"r": 138,
"g": 22,
"b": 47
},
"hsl": {
"h": 347.069,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41431,
"c": 0.14911,
"h": 15.7
},
"luminance": 0.06182
}Semantic roles & 50–950 ramp
primary
#8A162F
secondary
#3EBEA2
accent
#EFC839
background
#FBF6F6
surface
#F7EBEB
border
#D0C6C6
text
#120606
muted
#817A7A