#8E1972#8E1972
#8E1972 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.8% C 0.175 H 340.2°. Best body text is #FFFFFF at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1972 |
|---|---|
| RGB | rgb(142, 25, 114) |
| HSL | hsl(314, 70%, 33%) |
| HSV | hsv(314, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 19.7%, 44.3%) |
| CIE-LAB | lab(33.27, 55.04, -21.96) |
| CIE-LCH | lch(33.27, 59.26, 338.25°) |
| OKLab | oklab(44.81% 0.1647 -0.0593) |
| OKLCH | oklch(44.81% 0.175 340.2) |
| XYZ | xyz(14.5407, 7.6625, 16.6296) |
| Luminance | 0.0766 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.61
Darkish Purple
#751973
ΔE00 5.78
Warm Purple
#952E8F
ΔE00 6.03
Darkmagenta
#8B008B
ΔE00 6.15
Purple
#800080
ΔE00 6.19
Rich Purple
#720058
ΔE00 6.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1972 #198E35
analogous
#6F198E #8E1972 #8E1937
triadic
#8E1972 #728E19 #19728E
tetradic
#8E1972 #8E6F19 #198E35 #19378E
square
#8E1972 #8E6F19 #198E35 #19378E
split-complementary
#8E1972 #378E19 #198E6F
monochromatic
#26071E #5A1048 #8E1972 #C2229C #DE43B9
Accessibility & contrast
On white
8.29
#8E1972 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8E1972 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1972
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1972 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1972 | 1.00 | 8.29 | 2.53 | 8.29 |
| #FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#234374
Deuteranopia (green-blind)
#4A556F
Tritanopia (blue-blind)
#971E45
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1972; /* rgb */ color: rgb(142, 25, 114); /* oklch */ color: oklch(44.8% 0.175 340.2);
Tailwind
colors: {
custom: {
50: '#b3659b',
500: '#8e1972',
950: '#000000',
},
}SCSS
$custom: #8e1972; $custom-light: #b3659b; $custom-dark: #000000;
JSON
{
"hex": "#8e1972",
"rgb": {
"r": 142,
"g": 25,
"b": 114
},
"hsl": {
"h": 314.359,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.44805,
"c": 0.17502,
"h": 340.2
},
"luminance": 0.07661
}Semantic roles & 50–950 ramp
primary
#8E1972
secondary
#44BF61
accent
#ED663B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E