#8E1670#8E1670
#8E1670 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.5% C 0.176 H 341.0°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1670 |
|---|---|
| RGB | rgb(142, 22, 112) |
| HSL | hsl(315, 73%, 32%) |
| HSV | hsv(315, 85%, 56%) |
| CMYK | cmyk(0%, 84.5%, 21.1%, 44.3%) |
| CIE-LAB | lab(32.91, 55.53, -21.25) |
| CIE-LCH | lch(32.91, 59.45, 339.06°) |
| OKLab | oklab(44.52% 0.1667 -0.0573) |
| OKLCH | oklch(44.52% 0.176 341) |
| XYZ | xyz(14.3674, 7.4960, 16.0163) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.33
Darkish Purple
#751973
ΔE00 5.91
Purple
#800080
ΔE00 6.36
Darkmagenta
#8B008B
ΔE00 6.42
Warm Purple
#952E8F
ΔE00 6.48
Rich Purple
#720058
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1670 #168E34
analogous
#70168E #8E1670 #8E1634
triadic
#8E1670 #708E16 #16708E
tetradic
#8E1670 #8E7016 #168E34 #16348E
square
#8E1670 #8E7016 #168E34 #16348E
split-complementary
#8E1670 #348E16 #168E70
monochromatic
#24061C #590E46 #8E1670 #C31E9A #E13DB8
Accessibility & contrast
On white
8.40
#8E1670 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E1670 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1670
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1670 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1670 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234172
Deuteranopia (green-blind)
#4A546D
Tritanopia (blue-blind)
#971A43
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1670; /* rgb */ color: rgb(142, 22, 112); /* oklch */ color: oklch(44.5% 0.176 341.0);
Tailwind
colors: {
custom: {
50: '#b36499',
500: '#8e1670',
950: '#000000',
},
}SCSS
$custom: #8e1670; $custom-light: #b36499; $custom-dark: #000000;
JSON
{
"hex": "#8e1670",
"rgb": {
"r": 142,
"g": 22,
"b": 112
},
"hsl": {
"h": 315,
"s": 73.171,
"l": 32.157
},
"oklch": {
"l": 0.44515,
"c": 0.17629,
"h": 341
},
"luminance": 0.07494
}Semantic roles & 50–950 ramp
primary
#8E1670
secondary
#3FC15F
accent
#F06638
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E