#8E1574#8E1574
#8E1574 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.7% C 0.180 H 339.1°. Best body text is #FFFFFF at 8.37:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1574 |
|---|---|
| RGB | rgb(142, 21, 116) |
| HSL | hsl(313, 74%, 32%) |
| HSV | hsv(313, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 18.3%, 44.3%) |
| CIE-LAB | lab(33.03, 56.31, -23.61) |
| CIE-LCH | lch(33.03, 61.06, 337.26°) |
| OKLab | oklab(44.66% 0.1679 -0.064) |
| OKLCH | oklch(44.66% 0.18 339.1) |
| XYZ | xyz(14.5763, 7.5496, 17.2092) |
| Luminance | 0.0755 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.06
Darkish Purple
#751973
ΔE00 5.38
Darkmagenta
#8B008B
ΔE00 5.50
Purple
#800080
ΔE00 5.56
Warm Purple
#952E8F
ΔE00 5.82
Barney Purple
#A00498
ΔE00 6.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1574 #158E2F
analogous
#6C158E #8E1574 #8E1537
triadic
#8E1574 #748E15 #15748E
tetradic
#8E1574 #8E6C15 #158E2F #15378E
square
#8E1574 #8E6C15 #158E2F #15378E
split-complementary
#8E1574 #378E15 #158E6C
monochromatic
#23051D #590D48 #8E1574 #C31DA0 #E23BBE
Accessibility & contrast
On white
8.37
#8E1574 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8E1574 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1574
8.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1574 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1574 | 1.00 | 8.37 | 2.51 | 8.37 |
| #FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4276
Deuteranopia (green-blind)
#495471
Tritanopia (blue-blind)
#971C45
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1574; /* rgb */ color: rgb(142, 21, 116); /* oklch */ color: oklch(44.7% 0.180 339.1);
Tailwind
colors: {
custom: {
50: '#b3649c',
500: '#8e1574',
950: '#000000',
},
}SCSS
$custom: #8e1574; $custom-light: #b3649c; $custom-dark: #000000;
JSON
{
"hex": "#8e1574",
"rgb": {
"r": 142,
"g": 21,
"b": 116
},
"hsl": {
"h": 312.893,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.44663,
"c": 0.17966,
"h": 339.1
},
"luminance": 0.07548
}Semantic roles & 50–950 ramp
primary
#8E1574
secondary
#3DC25A
accent
#F15F37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E