#8E1977#8E1977
#8E1977 is a mid, vivid pink. Relative luminance 0.078; OKLCH L 45.1% C 0.178 H 337.8°. Best body text is #FFFFFF at 8.22:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1977 |
|---|---|
| RGB | rgb(142, 25, 119) |
| HSL | hsl(312, 70%, 33%) |
| HSV | hsv(312, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 16.2%, 44.3%) |
| CIE-LAB | lab(33.52, 55.75, -24.73) |
| CIE-LCH | lch(33.52, 60.99, 336.08°) |
| OKLab | oklab(45.07% 0.1652 -0.0673) |
| OKLCH | oklch(45.07% 0.178 337.8) |
| XYZ | xyz(14.8331, 7.7794, 18.1696) |
| Luminance | 0.0778 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Darkmagenta
#8B008B
ΔE00 5.10
Warm Purple
#952E8F
ΔE00 5.17
Darkish Purple
#751973
ΔE00 5.26
Purple
#800080
ΔE00 5.33
Red Violet
#9E0168
ΔE00 5.51
Barney Purple
#A00498
ΔE00 6.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1977 #198E30
analogous
#6A198E #8E1977 #8E193C
triadic
#8E1977 #778E19 #19778E
tetradic
#8E1977 #8E6A19 #198E30 #193C8E
square
#8E1977 #8E6A19 #198E30 #193C8E
split-complementary
#8E1977 #3C8E19 #198E6A
monochromatic
#260720 #5A104B #8E1977 #C222A3 #DE43C0
Accessibility & contrast
On white
8.22
#8E1977 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.56
#8E1977 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1977
8.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1977 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1977 | 1.00 | 8.22 | 2.56 | 8.22 |
| #FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4379
Deuteranopia (green-blind)
#485574
Tritanopia (blue-blind)
#962148
Achromatopsia (no color)
#4F4F4F
Design tokens & code
CSS
--color: #8e1977; /* rgb */ color: rgb(142, 25, 119); /* oklch */ color: oklch(45.1% 0.178 337.8);
Tailwind
colors: {
custom: {
50: '#b3669e',
500: '#8e1977',
950: '#000000',
},
}SCSS
$custom: #8e1977; $custom-light: #b3669e; $custom-dark: #000000;
JSON
{
"hex": "#8e1977",
"rgb": {
"r": 142,
"g": 25,
"b": 119
},
"hsl": {
"h": 311.795,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.45066,
"c": 0.17835,
"h": 337.8
},
"luminance": 0.07778
}Semantic roles & 50–950 ramp
primary
#8E1977
secondary
#44BF5C
accent
#ED5E3B
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E