#8E1872#8E1872
#8E1872 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.176 H 340.1°. Best body text is #FFFFFF at 8.32:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1872 |
|---|---|
| RGB | rgb(142, 24, 114) |
| HSL | hsl(314, 71%, 33%) |
| HSV | hsv(314, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 19.7%, 44.3%) |
| CIE-LAB | lab(33.18, 55.30, -22.10) |
| CIE-LCH | lch(33.18, 59.56, 338.22°) |
| OKLab | oklab(44.74% 0.1654 -0.0597) |
| OKLCH | oklch(44.74% 0.176 340.1) |
| XYZ | xyz(14.5197, 7.6205, 16.6226) |
| Luminance | 0.0762 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.63
Darkish Purple
#751973
ΔE00 5.73
Warm Purple
#952E8F
ΔE00 6.06
Darkmagenta
#8B008B
ΔE00 6.09
Purple
#800080
ΔE00 6.11
Rich Purple
#720058
ΔE00 6.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1872 #188E34
analogous
#6F188E #8E1872 #8E1837
triadic
#8E1872 #728E18 #18728E
tetradic
#8E1872 #8E6F18 #188E34 #18378E
square
#8E1872 #8E6F18 #188E34 #18378E
split-complementary
#8E1872 #378E18 #188E6F
monochromatic
#25061E #5A0F48 #8E1872 #C2219C #DF41BA
Accessibility & contrast
On white
8.32
#8E1872 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.52
#8E1872 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1872
8.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1872 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1872 | 1.00 | 8.32 | 2.52 | 8.32 |
| #FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#224274
Deuteranopia (green-blind)
#4A556F
Tritanopia (blue-blind)
#971D45
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1872; /* rgb */ color: rgb(142, 24, 114); /* oklch */ color: oklch(44.7% 0.176 340.1);
Tailwind
colors: {
custom: {
50: '#b3659b',
500: '#8e1872',
950: '#000000',
},
}SCSS
$custom: #8e1872; $custom-light: #b3659b; $custom-dark: #000000;
JSON
{
"hex": "#8e1872",
"rgb": {
"r": 142,
"g": 24,
"b": 114
},
"hsl": {
"h": 314.237,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.4474,
"c": 0.1759,
"h": 340.1
},
"luminance": 0.07619
}Semantic roles & 50–950 ramp
primary
#8E1872
secondary
#42C060
accent
#EE653A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E