#8E166E#8E166E
#8E166E is a dark, vivid pink. Relative luminance 0.074; OKLCH L 44.4% C 0.175 H 342.0°. Best body text is #FFFFFF at 8.43:1 contrast (WCAG AA passes).
Color values
| HEX | #8E166E |
|---|---|
| RGB | rgb(142, 22, 110) |
| HSL | hsl(316, 73%, 32%) |
| HSV | hsv(316, 85%, 56%) |
| CMYK | cmyk(0%, 84.5%, 22.5%, 44.3%) |
| CIE-LAB | lab(32.81, 55.26, -20.12) |
| CIE-LCH | lch(32.81, 58.81, 339.99°) |
| OKLab | oklab(44.42% 0.1664 -0.0541) |
| OKLCH | oklch(44.42% 0.175 342) |
| XYZ | xyz(14.2572, 7.4519, 15.4364) |
| Luminance | 0.0745 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.01
Darkish Purple
#751973
ΔE00 6.20
Rich Purple
#720058
ΔE00 6.43
Velvet
#750851
ΔE00 6.55
Dark Magenta
#960056
ΔE00 6.60
Purple
#800080
ΔE00 6.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E166E #168E36
analogous
#72168E #8E166E #8E1632
triadic
#8E166E #6E8E16 #166E8E
tetradic
#8E166E #8E7216 #168E36 #16328E
square
#8E166E #8E7216 #168E36 #16328E
split-complementary
#8E166E #328E16 #168E72
monochromatic
#24061C #590E45 #8E166E #C31E97 #E13DB5
Accessibility & contrast
On white
8.43
#8E166E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.49
#8E166E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E166E
8.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E166E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E166E | 1.00 | 8.43 | 2.49 | 8.43 |
| #FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.43 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#244170
Deuteranopia (green-blind)
#4B546B
Tritanopia (blue-blind)
#971842
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e166e; /* rgb */ color: rgb(142, 22, 110); /* oklch */ color: oklch(44.4% 0.175 342.0);
Tailwind
colors: {
custom: {
50: '#b36497',
500: '#8e166e',
950: '#000000',
},
}SCSS
$custom: #8e166e; $custom-light: #b36497; $custom-dark: #000000;
JSON
{
"hex": "#8e166e",
"rgb": {
"r": 142,
"g": 22,
"b": 110
},
"hsl": {
"h": 316,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.44415,
"c": 0.17502,
"h": 342
},
"luminance": 0.0745
}Semantic roles & 50–950 ramp
primary
#8E166E
secondary
#3FC162
accent
#F06938
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060D
muted
#817A7E