#8E1775#8E1775
#8E1775 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.8% C 0.179 H 338.7°. Best body text is #FFFFFF at 8.30:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1775 |
|---|---|
| RGB | rgb(142, 23, 117) |
| HSL | hsl(313, 72%, 32%) |
| HSV | hsv(313, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 17.6%, 44.3%) |
| CIE-LAB | lab(33.24, 55.97, -23.90) |
| CIE-LCH | lch(33.24, 60.86, 336.88°) |
| OKLab | oklab(44.83% 0.1665 -0.0649) |
| OKLCH | oklch(44.83% 0.179 338.7) |
| XYZ | xyz(14.6730, 7.6494, 17.5299) |
| Luminance | 0.0765 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.19
Darkish Purple
#751973
ΔE00 5.36
Darkmagenta
#8B008B
ΔE00 5.39
Purple
#800080
ΔE00 5.51
Warm Purple
#952E8F
ΔE00 5.58
Barney Purple
#A00498
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1775 #178E30
analogous
#6C178E #8E1775 #8E173A
triadic
#8E1775 #758E17 #17758E
tetradic
#8E1775 #8E6C17 #178E30 #173A8E
square
#8E1775 #8E6C17 #178E30 #173A8E
split-complementary
#8E1775 #3A8E17 #178E6C
monochromatic
#25061E #590E4A #8E1775 #C320A0 #E03FBE
Accessibility & contrast
On white
8.30
#8E1775 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.53
#8E1775 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1775
8.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1775 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1775 | 1.00 | 8.30 | 2.53 | 8.30 |
| #FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.30 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1F4377
Deuteranopia (green-blind)
#495572
Tritanopia (blue-blind)
#961E46
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1775; /* rgb */ color: rgb(142, 23, 117); /* oklch */ color: oklch(44.8% 0.179 338.7);
Tailwind
colors: {
custom: {
50: '#b3659d',
500: '#8e1775',
950: '#000000',
},
}SCSS
$custom: #8e1775; $custom-light: #b3659d; $custom-dark: #000000;
JSON
{
"hex": "#8e1775",
"rgb": {
"r": 142,
"g": 23,
"b": 117
},
"hsl": {
"h": 312.605,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.44834,
"c": 0.17871,
"h": 338.7
},
"luminance": 0.07648
}Semantic roles & 50–950 ramp
primary
#8E1775
secondary
#40C05B
accent
#EF5F39
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11060E
muted
#807A7E