#8E1B5B#8E1B5B
#8E1B5B is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.9% C 0.160 H 352.2°. Best body text is #FFFFFF at 8.54:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1B5B |
|---|---|
| RGB | rgb(142, 27, 91) |
| HSL | hsl(327, 68%, 33%) |
| HSV | hsv(327, 81%, 56%) |
| CMYK | cmyk(0%, 81%, 35.9%, 44.3%) |
| CIE-LAB | lab(32.46, 51.58, -8.44) |
| CIE-LCH | lch(32.46, 52.27, 350.71°) |
| OKLab | oklab(43.89% 0.1584 -0.0218) |
| OKLCH | oklch(43.89% 0.16 352.2) |
| XYZ | xyz(13.4364, 7.2916, 10.5954) |
| Luminance | 0.0729 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.47
Reddish Purple
#910951
ΔE00 2.79
Dark Fuchsia
#9D0759
ΔE00 3.25
Deep Magenta
#A0025C
ΔE00 3.49
Red Violet
#9E0168
ΔE00 3.67
Mulberry
#920A4E
ΔE00 3.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1B5B #1B8E4E
analogous
#871B8E #8E1B5B #8E1B21
triadic
#8E1B5B #5B8E1B #1B5B8E
tetradic
#8E1B5B #8E871B #1B8E4E #1B218E
square
#8E1B5B #8E871B #1B8E4E #1B218E
split-complementary
#8E1B5B #218E1B #1B8E87
monochromatic
#270719 #5B113A #8E1B5B #C1257C #DC479A
Accessibility & contrast
On white
8.54
#8E1B5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E1B5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1B5B
8.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1B5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1B5B | 1.00 | 8.54 | 2.46 | 8.54 |
| #FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.54 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#313F5D
Deuteranopia (green-blind)
#525458
Tritanopia (blue-blind)
#990E39
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e1b5b; /* rgb */ color: rgb(142, 27, 91); /* oklch */ color: oklch(43.9% 0.160 352.2);
Tailwind
colors: {
custom: {
50: '#b46589',
500: '#8e1b5b',
950: '#000000',
},
}SCSS
$custom: #8e1b5b; $custom-light: #b46589; $custom-dark: #000000;
JSON
{
"hex": "#8e1b5b",
"rgb": {
"r": 142,
"g": 27,
"b": 91
},
"hsl": {
"h": 326.609,
"s": 68.047,
"l": 33.137
},
"oklch": {
"l": 0.43894,
"c": 0.15984,
"h": 352.2
},
"luminance": 0.0729
}Semantic roles & 50–950 ramp
primary
#8E1B5B
secondary
#47BE7C
accent
#EB8A3D
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12060B
muted
#817A7C