#8A166A#8A166A
#8A166A is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.5% C 0.170 H 342.4°. Best body text is #FFFFFF at 8.74:1 contrast (WCAG AA passes).
Color values
| HEX | #8A166A |
|---|---|
| RGB | rgb(138, 22, 106) |
| HSL | hsl(317, 73%, 31%) |
| HSV | hsv(317, 84%, 54%) |
| CMYK | cmyk(0%, 84.1%, 23.2%, 45.9%) |
| CIE-LAB | lab(31.85, 53.79, -19.12) |
| CIE-LCH | lch(31.85, 57.08, 340.43°) |
| OKLab | oklab(43.52% 0.1622 -0.0514) |
| OKLCH | oklch(43.52% 0.17 342.4) |
| XYZ | xyz(13.3702, 7.0192, 14.2836) |
| Luminance | 0.0702 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.31
Rich Purple
#720058
ΔE00 5.60
Velvet
#750851
ΔE00 5.64
Darkish Purple
#751973
ΔE00 5.98
Dark Magenta
#960056
ΔE00 6.36
Purple
#800080
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8A166A #168A36
analogous
#70168A #8A166A #8A1630
triadic
#8A166A #6A8A16 #166A8A
tetradic
#8A166A #8A7016 #168A36 #16308A
square
#8A166A #8A7016 #168A36 #16308A
split-complementary
#8A166A #308A16 #168A70
monochromatic
#200519 #550E41 #8A166A #BF1E93 #E03BB2
Accessibility & contrast
On white
8.74
#8A166A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.40
#8A166A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8A166A
8.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8A166A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8A166A | 1.00 | 8.74 | 2.40 | 8.74 |
| #FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#243F6C
Deuteranopia (green-blind)
#495267
Tritanopia (blue-blind)
#931740
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8a166a; /* rgb */ color: rgb(138, 22, 106); /* oklch */ color: oklch(43.5% 0.170 342.4);
Tailwind
colors: {
custom: {
50: '#b06395',
500: '#8a166a',
950: '#000000',
},
}SCSS
$custom: #8a166a; $custom-light: #b06395; $custom-dark: #000000;
JSON
{
"hex": "#8a166a",
"rgb": {
"r": 138,
"g": 22,
"b": 106
},
"hsl": {
"h": 316.552,
"s": 72.5,
"l": 31.373
},
"oklch": {
"l": 0.43518,
"c": 0.17014,
"h": 342.4
},
"luminance": 0.07018
}Semantic roles & 50–950 ramp
primary
#8A166A
secondary
#3EBE61
accent
#EF6B39
background
#FBF6F9
surface
#F6EBF1
border
#D0C6CB
text
#11060D
muted
#807A7E