#8E167A#8E167A
#8E167A is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.183 H 336.4°. Best body text is #FFFFFF at 8.25:1 contrast (WCAG AA passes).
Color values
| HEX | #8E167A |
|---|---|
| RGB | rgb(142, 22, 122) |
| HSL | hsl(310, 73%, 32%) |
| HSV | hsv(310, 85%, 56%) |
| CMYK | cmyk(0%, 84.5%, 14.1%, 44.3%) |
| CIE-LAB | lab(33.42, 56.93, -26.78) |
| CIE-LCH | lch(33.42, 62.92, 334.81°) |
| OKLab | oklab(45.04% 0.1676 -0.0731) |
| OKLCH | oklch(45.04% 0.183 336.4) |
| XYZ | xyz(14.9554, 7.7312, 19.1132) |
| Luminance | 0.0773 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.31
Purple
#800080
ΔE00 4.67
Warm Purple
#952E8F
ΔE00 4.88
Darkish Purple
#751973
ΔE00 4.94
Barney Purple
#A00498
ΔE00 5.47
Red Violet
#9E0168
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E167A #168E2A
analogous
#66168E #8E167A #8E163E
triadic
#8E167A #7A8E16 #167A8E
tetradic
#8E167A #8E6616 #168E2A #163E8E
square
#8E167A #8E6616 #168E2A #163E8E
split-complementary
#8E167A #3E8E16 #168E66
monochromatic
#24061F #590E4C #8E167A #C31EA8 #E13DC6
Accessibility & contrast
On white
8.25
#8E167A on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8E167A on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E167A
8.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E167A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E167A | 1.00 | 8.25 | 2.55 | 8.25 |
| #FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#19437C
Deuteranopia (green-blind)
#465577
Tritanopia (blue-blind)
#962149
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e167a; /* rgb */ color: rgb(142, 22, 122); /* oklch */ color: oklch(45.0% 0.183 336.4);
Tailwind
colors: {
custom: {
50: '#b365a1',
500: '#8e167a',
950: '#000000',
},
}SCSS
$custom: #8e167a; $custom-light: #b365a1; $custom-dark: #000000;
JSON
{
"hex": "#8e167a",
"rgb": {
"r": 142,
"g": 22,
"b": 122
},
"hsl": {
"h": 310,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.45043,
"c": 0.18289,
"h": 336.4
},
"luminance": 0.0773
}Semantic roles & 50–950 ramp
primary
#8E167A
secondary
#3FC155
accent
#F05738
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060F
muted
#807A7E