#8E1758#8E1758
#8E1758 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.5% C 0.162 H 353.4°. Best body text is #FFFFFF at 8.70:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1758 |
|---|---|
| RGB | rgb(142, 23, 88) |
| HSL | hsl(327, 72%, 32%) |
| HSV | hsv(327, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 38%, 44.3%) |
| CIE-LAB | lab(31.97, 52.34, -7.23) |
| CIE-LCH | lch(31.97, 52.84, 352.13°) |
| OKLab | oklab(43.5% 0.161 -0.0185) |
| OKLCH | oklch(43.5% 0.162 353.4) |
| XYZ | xyz(13.2241, 7.0698, 9.8989) |
| Luminance | 0.0707 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 1.93
Reddish Purple
#910951
ΔE00 2.07
Dark Fuchsia
#9D0759
ΔE00 2.95
Mulberry
#920A4E
ΔE00 3.01
Deep Magenta
#A0025C
ΔE00 3.31
Red Purple
#820747
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1758 #178E4D
analogous
#89178E #8E1758 #8E171C
triadic
#8E1758 #588E17 #17588E
tetradic
#8E1758 #8E8917 #178E4D #171C8E
square
#8E1758 #8E8917 #178E4D #171C8E
split-complementary
#8E1758 #1C8E17 #178E89
monochromatic
#250617 #590E37 #8E1758 #C32079 #E03F97
Accessibility & contrast
On white
8.70
#8E1758 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8E1758 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1758
8.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1758 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1758 | 1.00 | 8.70 | 2.41 | 8.70 |
| #FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313D5A
Deuteranopia (green-blind)
#525355
Tritanopia (blue-blind)
#9A0436
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1758; /* rgb */ color: rgb(142, 23, 88); /* oklch */ color: oklch(43.5% 0.162 353.4);
Tailwind
colors: {
custom: {
50: '#b46487',
500: '#8e1758',
950: '#000000',
},
}SCSS
$custom: #8e1758; $custom-light: #b46487; $custom-dark: #000000;
JSON
{
"hex": "#8e1758",
"rgb": {
"r": 142,
"g": 23,
"b": 88
},
"hsl": {
"h": 327.227,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.43495,
"c": 0.16206,
"h": 353.4
},
"luminance": 0.07068
}Semantic roles & 50–950 ramp
primary
#8E1758
secondary
#40C07A
accent
#EF8B39
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C