#8E1F5D#8E1F5D
#8E1F5D is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.3% C 0.157 H 351.5°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F5D |
|---|---|
| RGB | rgb(142, 31, 93) |
| HSL | hsl(326, 64%, 34%) |
| HSV | hsv(326, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 34.5%, 44.3%) |
| CIE-LAB | lab(32.97, 50.59, -8.97) |
| CIE-LCH | lch(32.97, 51.38, 349.95°) |
| OKLab | oklab(44.29% 0.155 -0.0232) |
| OKLCH | oklch(44.29% 0.157 351.5) |
| XYZ | xyz(13.6219, 7.5227, 11.0885) |
| Luminance | 0.0752 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Dark Magenta
#960056
ΔE00 2.95
Reddish Purple
#910951
ΔE00 3.30
Dark Fuchsia
#9D0759
ΔE00 3.51
Red Violet
#9E0168
ΔE00 3.62
Deep Magenta
#A0025C
ΔE00 3.69
Mulberry
#920A4E
ΔE00 4.15
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F5D #1F8E50
analogous
#881F8E #8E1F5D #8E1F26
triadic
#8E1F5D #5D8E1F #1F5D8E
tetradic
#8E1F5D #8E881F #1F8E50 #1F268E
square
#8E1F5D #8E881F #1F8E50 #1F268E
split-complementary
#8E1F5D #268E1F #1F8E88
monochromatic
#2A091B #5C143C #8E1F5D #C02A7E #D94F9C
Accessibility & contrast
On white
8.39
#8E1F5D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E1F5D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F5D
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F5D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F5D | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#33415F
Deuteranopia (green-blind)
#53555B
Tritanopia (blue-blind)
#99153B
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e1f5d; /* rgb */ color: rgb(142, 31, 93); /* oklch */ color: oklch(44.3% 0.157 351.5);
Tailwind
colors: {
custom: {
50: '#b3678a',
500: '#8e1f5d',
950: '#000000',
},
}SCSS
$custom: #8e1f5d; $custom-light: #b3678a; $custom-dark: #000000;
JSON
{
"hex": "#8e1f5d",
"rgb": {
"r": 142,
"g": 31,
"b": 93
},
"hsl": {
"h": 326.486,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.44288,
"c": 0.15676,
"h": 351.5
},
"luminance": 0.07521
}Semantic roles & 50–950 ramp
primary
#8E1F5D
secondary
#4DBB7E
accent
#E78A41
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070B
muted
#817A7C