#8E1D52#8E1D52
#8E1D52 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.7% C 0.154 H 357.5°. Best body text is #FFFFFF at 8.58:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D52 |
|---|---|
| RGB | rgb(142, 29, 82) |
| HSL | hsl(332, 66%, 34%) |
| HSV | hsv(332, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 42.3%, 44.3%) |
| CIE-LAB | lab(32.35, 50.00, -2.74) |
| CIE-LCH | lch(32.35, 50.08, 356.86°) |
| OKLab | oklab(43.71% 0.1537 -0.0066) |
| OKLCH | oklch(43.71% 0.154 357.5) |
| XYZ | xyz(13.1187, 7.2404, 8.6877) |
| Luminance | 0.0724 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 1.73
Mulberry
#920A4E
ΔE00 1.79
Dark Magenta
#960056
ΔE00 2.60
Dark Fuchsia
#9D0759
ΔE00 3.02
Berry
#990F4B
ΔE00 3.47
Red Purple
#820747
ΔE00 3.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D52 #1D8E59
analogous
#8E1D8A #8E1D52 #8E201D
triadic
#8E1D52 #528E1D #1D528E
tetradic
#8E1D52 #8A8E1D #1D8E59 #201D8E
square
#8E1D52 #8A8E1D #1D8E59 #201D8E
split-complementary
#8E1D52 #1D8E20 #1D8A8E
monochromatic
#280817 #5B1335 #8E1D52 #C1276F #DA4B8E
Accessibility & contrast
On white
8.58
#8E1D52 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8E1D52 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D52
8.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D52 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D52 | 1.00 | 8.58 | 2.45 | 8.58 |
| #FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363F53
Deuteranopia (green-blind)
#55544F
Tritanopia (blue-blind)
#9A0935
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e1d52; /* rgb */ color: rgb(142, 29, 82); /* oklch */ color: oklch(43.7% 0.154 357.5);
Tailwind
colors: {
custom: {
50: '#b46682',
500: '#8e1d52',
950: '#000000',
},
}SCSS
$custom: #8e1d52; $custom-light: #b46682; $custom-dark: #000000;
JSON
{
"hex": "#8e1d52",
"rgb": {
"r": 142,
"g": 29,
"b": 82
},
"hsl": {
"h": 331.858,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.43705,
"c": 0.15388,
"h": 357.5
},
"luminance": 0.07239
}Semantic roles & 50–950 ramp
primary
#8E1D52
secondary
#4ABD87
accent
#E9993F
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C