#8E1877#8E1877
#8E1877 is a mid, vivid pink. Relative luminance 0.077; OKLCH L 45.0% C 0.179 H 337.8°. Best body text is #FFFFFF at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1877 |
|---|---|
| RGB | rgb(142, 24, 119) |
| HSL | hsl(312, 71%, 33%) |
| HSV | hsv(312, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 16.2%, 44.3%) |
| CIE-LAB | lab(33.43, 56.01, -24.87) |
| CIE-LCH | lch(33.43, 61.28, 336.06°) |
| OKLab | oklab(45% 0.1659 -0.0676) |
| OKLCH | oklch(45% 0.179 337.8) |
| XYZ | xyz(14.8121, 7.7374, 18.1626) |
| Luminance | 0.0774 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 5.03
Darkish Purple
#751973
ΔE00 5.22
Warm Purple
#952E8F
ΔE00 5.22
Purple
#800080
ΔE00 5.26
Red Violet
#9E0168
ΔE00 5.53
Barney Purple
#A00498
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1877 #188E2F
analogous
#6A188E #8E1877 #8E183C
triadic
#8E1877 #778E18 #18778E
tetradic
#8E1877 #8E6A18 #188E2F #183C8E
square
#8E1877 #8E6A18 #188E2F #183C8E
split-complementary
#8E1877 #3C8E18 #188E6A
monochromatic
#25061F #5A0F4B #8E1877 #C221A3 #DF41C0
Accessibility & contrast
On white
8.24
#8E1877 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.55
#8E1877 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1877
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1877 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1877 | 1.00 | 8.24 | 2.55 | 8.24 |
| #FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.55 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.24 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4379
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#962047
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1877; /* rgb */ color: rgb(142, 24, 119); /* oklch */ color: oklch(45.0% 0.179 337.8);
Tailwind
colors: {
custom: {
50: '#b3659e',
500: '#8e1877',
950: '#000000',
},
}SCSS
$custom: #8e1877; $custom-light: #b3659e; $custom-dark: #000000;
JSON
{
"hex": "#8e1877",
"rgb": {
"r": 142,
"g": 24,
"b": 119
},
"hsl": {
"h": 311.695,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.45002,
"c": 0.17921,
"h": 337.8
},
"luminance": 0.07736
}Semantic roles & 50–950 ramp
primary
#8E1877
secondary
#42C05B
accent
#EE5D3A
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E