#8E1575#8E1575
#8E1575 is a dark, vivid pink. Relative luminance 0.076; OKLCH L 44.7% C 0.180 H 338.7°. Best body text is #FFFFFF at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1575 |
|---|---|
| RGB | rgb(142, 21, 117) |
| HSL | hsl(312, 74%, 32%) |
| HSV | hsv(312, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 17.6%, 44.3%) |
| CIE-LAB | lab(33.08, 56.45, -24.16) |
| CIE-LCH | lch(33.08, 61.40, 336.83°) |
| OKLab | oklab(44.72% 0.168 -0.0656) |
| OKLCH | oklch(44.72% 0.18 338.7) |
| XYZ | xyz(14.6348, 7.5730, 17.5172) |
| Luminance | 0.0757 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.24
Darkish Purple
#751973
ΔE00 5.28
Darkmagenta
#8B008B
ΔE00 5.29
Purple
#800080
ΔE00 5.38
Warm Purple
#952E8F
ΔE00 5.66
Barney Purple
#A00498
ΔE00 6.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1575 #158E2E
analogous
#6B158E #8E1575 #8E1538
triadic
#8E1575 #758E15 #15758E
tetradic
#8E1575 #8E6B15 #158E2E #15388E
square
#8E1575 #8E6B15 #158E2E #15388E
split-complementary
#8E1575 #388E15 #158E6B
monochromatic
#23051D #590D49 #8E1575 #C31DA1 #E23BC0
Accessibility & contrast
On white
8.35
#8E1575 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.51
#8E1575 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1575
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1575 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1575 | 1.00 | 8.35 | 2.51 | 8.35 |
| #FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.35 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#1E4277
Deuteranopia (green-blind)
#485472
Tritanopia (blue-blind)
#971D46
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1575; /* rgb */ color: rgb(142, 21, 117); /* oklch */ color: oklch(44.7% 0.180 338.7);
Tailwind
colors: {
custom: {
50: '#b3649d',
500: '#8e1575',
950: '#000000',
},
}SCSS
$custom: #8e1575; $custom-light: #b3649d; $custom-dark: #000000;
JSON
{
"hex": "#8e1575",
"rgb": {
"r": 142,
"g": 21,
"b": 117
},
"hsl": {
"h": 312.397,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.44716,
"c": 0.18033,
"h": 338.7
},
"luminance": 0.07571
}Semantic roles & 50–950 ramp
primary
#8E1575
secondary
#3DC259
accent
#F15D37
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#12060E
muted
#817A7E