#8E1671#8E1671
#8E1671 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.6% C 0.177 H 340.6°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1671 |
|---|---|
| RGB | rgb(142, 22, 113) |
| HSL | hsl(315, 73%, 32%) |
| HSV | hsv(315, 85%, 56%) |
| CMYK | cmyk(0%, 84.5%, 20.4%, 44.3%) |
| CIE-LAB | lab(32.96, 55.66, -21.81) |
| CIE-LCH | lch(32.96, 59.78, 338.61°) |
| OKLab | oklab(44.57% 0.1668 -0.0589) |
| OKLCH | oklch(44.57% 0.177 340.6) |
| XYZ | xyz(14.4233, 7.5184, 16.3112) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.51
Darkish Purple
#751973
ΔE00 5.78
Purple
#800080
ΔE00 6.17
Darkmagenta
#8B008B
ΔE00 6.20
Warm Purple
#952E8F
ΔE00 6.30
Rich Purple
#720058
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1671 #168E33
analogous
#6F168E #8E1671 #8E1635
triadic
#8E1671 #718E16 #16718E
tetradic
#8E1671 #8E6F16 #168E33 #16358E
square
#8E1671 #8E6F16 #168E33 #16358E
split-complementary
#8E1671 #358E16 #168E6F
monochromatic
#24061D #590E47 #8E1671 #C31E9B #E13DB9
Accessibility & contrast
On white
8.39
#8E1671 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E1671 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1671
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1671 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1671 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224173
Deuteranopia (green-blind)
#4A546E
Tritanopia (blue-blind)
#971A44
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1671; /* rgb */ color: rgb(142, 22, 113); /* oklch */ color: oklch(44.6% 0.177 340.6);
Tailwind
colors: {
custom: {
50: '#b3649a',
500: '#8e1671',
950: '#000000',
},
}SCSS
$custom: #8e1671; $custom-light: #b3649a; $custom-dark: #000000;
JSON
{
"hex": "#8e1671",
"rgb": {
"r": 142,
"g": 22,
"b": 113
},
"hsl": {
"h": 314.5,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.44566,
"c": 0.17693,
"h": 340.6
},
"luminance": 0.07517
}Semantic roles & 50–950 ramp
primary
#8E1671
secondary
#3FC15E
accent
#F06438
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E