#8A163E#8A163E
#8A163E is a dark, vivid pink. Relative luminance 0.063; OKLCH L 41.8% C 0.151 H 7.1°. Best body text is #FFFFFF at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #8A163E |
|---|---|
| RGB | rgb(138, 22, 62) |
| HSL | hsl(339, 73%, 31%) |
| HSV | hsv(339, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 55.1%, 45.9%) |
| CIE-LAB | lab(30.22, 49.06, 7.29) |
| CIE-LCH | lch(30.22, 49.60, 8.46°) |
| OKLab | oklab(41.8% 0.1497 0.0188) |
| OKLCH | oklch(41.8% 0.151 7.1) |
| XYZ | xyz(11.6388, 6.3266, 5.1648) |
| Luminance | 0.0633 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 2.84
Purple Red
#990147
ΔE00 3.36
Berry
#990F4B
ΔE00 3.78
Wine (survey)
#80013F
ΔE00 4.21
Cranberry
#9E003A
ΔE00 4.63
Bordeaux
#7B002C
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A163E #168A62
analogous
#8A1678 #8A163E #8A2816
triadic
#8A163E #3E8A16 #163E8A
tetradic
#8A163E #788A16 #168A62 #28168A
square
#8A163E #788A16 #168A62 #28168A
split-complementary
#8A163E #168A28 #16788A
monochromatic
#20050F #550E26 #8A163E #BF1E56 #E03B74
Accessibility & contrast
On white
9.27
#8A163E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.27
#8A163E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A163E
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A163E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A163E | 1.00 | 9.27 | 2.27 | 9.27 |
| #FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.27 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#36383F
Deuteranopia (green-blind)
#544F3B
Tritanopia (blue-blind)
#970028
Achromatopsia (no color)
#474747
Design tokens & code
CSS
--color: #8a163e; /* rgb */ color: rgb(138, 22, 62); /* oklch */ color: oklch(41.8% 0.151 7.1);
Tailwind
colors: {
custom: {
50: '#b26273',
500: '#8a163e',
950: '#000000',
},
}SCSS
$custom: #8a163e; $custom-light: #b26273; $custom-dark: #000000;
JSON
{
"hex": "#8a163e",
"rgb": {
"r": 138,
"g": 22,
"b": 62
},
"hsl": {
"h": 339.31,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.41802,
"c": 0.15084,
"h": 7.1
},
"luminance": 0.06325
}Semantic roles & 50–950 ramp
primary
#8A163E
secondary
#3EBE92
accent
#EFB039
background
#FBF6F6
surface
#F6EBEC
border
#D0C6C7
text
#120608
muted
#817A7B