#8E1752#8E1752
#8E1752 is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.159 H 356.8°. Best body text is #FFFFFF at 8.77:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1752 |
|---|---|
| RGB | rgb(142, 23, 82) |
| HSL | hsl(330, 72%, 32%) |
| HSV | hsv(330, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 42.3%, 44.3%) |
| CIE-LAB | lab(31.75, 51.71, -3.63) |
| CIE-LCH | lch(31.75, 51.83, 355.98°) |
| OKLab | oklab(43.27% 0.1592 -0.0089) |
| OKLCH | oklch(43.27% 0.159 356.8) |
| XYZ | xyz(12.9857, 6.9745, 8.6434) |
| Luminance | 0.0697 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.06
Mulberry
#920A4E
ΔE00 1.54
Dark Magenta
#960056
ΔE00 1.99
Dark Fuchsia
#9D0759
ΔE00 2.81
Red Purple
#820747
ΔE00 3.16
Deep Magenta
#A0025C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1752 #178E53
analogous
#8E178E #8E1752 #8E1817
triadic
#8E1752 #528E17 #17528E
tetradic
#8E1752 #8E8E17 #178E53 #18178E
square
#8E1752 #8E8E17 #178E53 #18178E
split-complementary
#8E1752 #178E18 #178E8E
monochromatic
#250615 #590E34 #8E1752 #C32070 #E03F8F
Accessibility & contrast
On white
8.77
#8E1752 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.39
#8E1752 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1752
8.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1752 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1752 | 1.00 | 8.77 | 2.39 | 8.77 |
| #FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#333D53
Deuteranopia (green-blind)
#53534F
Tritanopia (blue-blind)
#9A0033
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1752; /* rgb */ color: rgb(142, 23, 82); /* oklch */ color: oklch(43.3% 0.159 356.8);
Tailwind
colors: {
custom: {
50: '#b46382',
500: '#8e1752',
950: '#000000',
},
}SCSS
$custom: #8e1752; $custom-light: #b46382; $custom-dark: #000000;
JSON
{
"hex": "#8e1752",
"rgb": {
"r": 142,
"g": 23,
"b": 82
},
"hsl": {
"h": 330.252,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.43267,
"c": 0.15946,
"h": 356.8
},
"luminance": 0.06973
}Semantic roles & 50–950 ramp
primary
#8E1752
secondary
#40C081
accent
#EF9539
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C