#8E1958#8E1958
#8E1958 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.6% C 0.160 H 353.6°. Best body text is #FFFFFF at 8.64:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1958 |
|---|---|
| RGB | rgb(142, 25, 88) |
| HSL | hsl(328, 70%, 33%) |
| HSV | hsv(328, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 38%, 44.3%) |
| CIE-LAB | lab(32.15, 51.81, -6.95) |
| CIE-LCH | lch(32.15, 52.27, 352.36°) |
| OKLab | oklab(43.63% 0.1593 -0.0177) |
| OKLCH | oklch(43.63% 0.16 353.6) |
| XYZ | xyz(13.2653, 7.1523, 9.9126) |
| Luminance | 0.0715 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.01
Reddish Purple
#910951
ΔE00 2.08
Dark Fuchsia
#9D0759
ΔE00 2.92
Mulberry
#920A4E
ΔE00 2.97
Deep Magenta
#A0025C
ΔE00 3.30
Red Purple
#820747
ΔE00 4.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1958 #198E4F
analogous
#89198E #8E1958 #8E191E
triadic
#8E1958 #588E19 #19588E
tetradic
#8E1958 #8E8919 #198E4F #191E8E
square
#8E1958 #8E8919 #198E4F #191E8E
split-complementary
#8E1958 #1E8E19 #198E89
monochromatic
#260718 #5A1038 #8E1958 #C22278 #DE4397
Accessibility & contrast
On white
8.64
#8E1958 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.43
#8E1958 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1958
8.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1958 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1958 | 1.00 | 8.64 | 2.43 | 8.64 |
| #FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#323E5A
Deuteranopia (green-blind)
#535355
Tritanopia (blue-blind)
#9A0737
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e1958; /* rgb */ color: rgb(142, 25, 88); /* oklch */ color: oklch(43.6% 0.160 353.6);
Tailwind
colors: {
custom: {
50: '#b46487',
500: '#8e1958',
950: '#000000',
},
}SCSS
$custom: #8e1958; $custom-light: #b46487; $custom-dark: #000000;
JSON
{
"hex": "#8e1958",
"rgb": {
"r": 142,
"g": 25,
"b": 88
},
"hsl": {
"h": 327.692,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.4363,
"c": 0.1603,
"h": 353.6
},
"luminance": 0.07151
}Semantic roles & 50–950 ramp
primary
#8E1958
secondary
#44BF7D
accent
#ED8D3B
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12060B
muted
#817A7C