#8E1F5B#8E1F5B
#8E1F5B is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.156 H 352.6°. Best body text is #FFFFFF at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F5B |
|---|---|
| RGB | rgb(142, 31, 91) |
| HSL | hsl(328, 64%, 34%) |
| HSV | hsv(328, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 35.9%, 44.3%) |
| CIE-LAB | lab(32.89, 50.36, -7.79) |
| CIE-LCH | lch(32.89, 50.95, 351.21°) |
| OKLab | oklab(44.21% 0.1545 -0.02) |
| OKLCH | oklch(44.21% 0.156 352.6) |
| XYZ | xyz(13.5345, 7.4877, 10.6280) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.68
Reddish Purple
#910951
ΔE00 2.87
Dark Fuchsia
#9D0759
ΔE00 3.24
Deep Magenta
#A0025C
ΔE00 3.52
Mulberry
#920A4E
ΔE00 3.67
Red Violet
#9E0168
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F5B #1F8E52
analogous
#8A1F8E #8E1F5B #8E1F23
triadic
#8E1F5B #5B8E1F #1F5B8E
tetradic
#8E1F5B #8E8A1F #1F8E52 #1F238E
square
#8E1F5B #8E8A1F #1F8E52 #1F238E
split-complementary
#8E1F5B #238E1F #1F8E8A
monochromatic
#2A091B #5C143B #8E1F5B #C02A7B #D94F99
Accessibility & contrast
On white
8.41
#8E1F5B on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E1F5B on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F5B
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F5B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F5B | 1.00 | 8.41 | 2.50 | 8.41 |
| #FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#34415D
Deuteranopia (green-blind)
#535559
Tritanopia (blue-blind)
#99143A
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e1f5b; /* rgb */ color: rgb(142, 31, 91); /* oklch */ color: oklch(44.2% 0.156 352.6);
Tailwind
colors: {
custom: {
50: '#b36789',
500: '#8e1f5b',
950: '#000000',
},
}SCSS
$custom: #8e1f5b; $custom-light: #b36789; $custom-dark: #000000;
JSON
{
"hex": "#8e1f5b",
"rgb": {
"r": 142,
"g": 31,
"b": 91
},
"hsl": {
"h": 327.568,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.44208,
"c": 0.15576,
"h": 352.6
},
"luminance": 0.07486
}Semantic roles & 50–950 ramp
primary
#8E1F5B
secondary
#4DBB80
accent
#E78D41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C