#8E1A5B#8E1A5B
#8E1A5B is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.8% C 0.161 H 352.1°. Best body text is #FFFFFF at 8.57:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A5B |
|---|---|
| RGB | rgb(142, 26, 91) |
| HSL | hsl(326, 69%, 33%) |
| HSV | hsv(326, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 35.9%, 44.3%) |
| CIE-LAB | lab(32.36, 51.86, -8.59) |
| CIE-LCH | lch(32.36, 52.57, 350.60°) |
| OKLab | oklab(43.82% 0.1593 -0.0222) |
| OKLCH | oklch(43.82% 0.161 352.1) |
| XYZ | xyz(13.4139, 7.2466, 10.5878) |
| Luminance | 0.0725 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.44
Reddish Purple
#910951
ΔE00 2.78
Dark Fuchsia
#9D0759
ΔE00 3.26
Deep Magenta
#A0025C
ΔE00 3.49
Red Violet
#9E0168
ΔE00 3.62
Mulberry
#920A4E
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A5B #1A8E4D
analogous
#871A8E #8E1A5B #8E1A21
triadic
#8E1A5B #5B8E1A #1A5B8E
tetradic
#8E1A5B #8E871A #1A8E4D #1A218E
square
#8E1A5B #8E871A #1A8E4D #1A218E
split-complementary
#8E1A5B #218E1A #1A8E87
monochromatic
#270719 #5A113A #8E1A5B #C2237C #DD459A
Accessibility & contrast
On white
8.57
#8E1A5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.45
#8E1A5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A5B
8.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A5B | 1.00 | 8.57 | 2.45 | 8.57 |
| #FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.57 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#525458
Tritanopia (blue-blind)
#990C38
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e1a5b; /* rgb */ color: rgb(142, 26, 91); /* oklch */ color: oklch(43.8% 0.161 352.1);
Tailwind
colors: {
custom: {
50: '#b46589',
500: '#8e1a5b',
950: '#000000',
},
}SCSS
$custom: #8e1a5b; $custom-light: #b46589; $custom-dark: #000000;
JSON
{
"hex": "#8e1a5b",
"rgb": {
"r": 142,
"g": 26,
"b": 91
},
"hsl": {
"h": 326.379,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.43821,
"c": 0.16079,
"h": 352.1
},
"luminance": 0.07245
}Semantic roles & 50–950 ramp
primary
#8E1A5B
secondary
#45BE7B
accent
#EC893C
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C