#8E1879#8E1879
#8E1879 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.181 H 336.9°. Best body text is #FFFFFF at 8.21:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1879 |
|---|---|
| RGB | rgb(142, 24, 121) |
| HSL | hsl(311, 71%, 33%) |
| HSV | hsv(311, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 14.8%, 44.3%) |
| CIE-LAB | lab(33.53, 56.30, -25.97) |
| CIE-LCH | lch(33.53, 62.00, 335.24°) |
| OKLab | oklab(45.11% 0.1661 -0.0708) |
| OKLCH | oklch(45.11% 0.181 336.9) |
| XYZ | xyz(14.9335, 7.7860, 18.8018) |
| Luminance | 0.0779 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 4.63
Warm Purple
#952E8F
ΔE00 4.92
Purple
#800080
ΔE00 4.95
Darkish Purple
#751973
ΔE00 5.07
Barney Purple
#A00498
ΔE00 5.66
Red Violet
#9E0168
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1879 #188E2D
analogous
#68188E #8E1879 #8E183E
triadic
#8E1879 #798E18 #18798E
tetradic
#8E1879 #8E6818 #188E2D #183E8E
square
#8E1879 #8E6818 #188E2D #183E8E
split-complementary
#8E1879 #3E8E18 #188E68
monochromatic
#250620 #5A0F4C #8E1879 #C221A6 #DF41C3
Accessibility & contrast
On white
8.21
#8E1879 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8E1879 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1879
8.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1879 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1879 | 1.00 | 8.21 | 2.56 | 8.21 |
| #FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1C447B
Deuteranopia (green-blind)
#475576
Tritanopia (blue-blind)
#962148
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1879; /* rgb */ color: rgb(142, 24, 121); /* oklch */ color: oklch(45.1% 0.181 336.9);
Tailwind
colors: {
custom: {
50: '#b365a0',
500: '#8e1879',
950: '#000000',
},
}SCSS
$custom: #8e1879; $custom-light: #b365a0; $custom-dark: #000000;
JSON
{
"hex": "#8e1879",
"rgb": {
"r": 142,
"g": 24,
"b": 121
},
"hsl": {
"h": 310.678,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.45109,
"c": 0.18057,
"h": 336.9
},
"luminance": 0.07785
}Semantic roles & 50–950 ramp
primary
#8E1879
secondary
#42C058
accent
#EE5A3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E