#8E1D48#8E1D48
#8E1D48 is a dark, vivid pink. Relative luminance 0.071; OKLCH L 43.4% C 0.150 H 3.5°. Best body text is #FFFFFF at 8.68:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1D48 |
|---|---|
| RGB | rgb(142, 29, 72) |
| HSL | hsl(337, 66%, 34%) |
| HSV | hsv(337, 80%, 56%) |
| CMYK | cmyk(0%, 79.6%, 49.3%, 44.3%) |
| CIE-LAB | lab(32.03, 49.02, 3.36) |
| CIE-LCH | lch(32.03, 49.14, 3.92°) |
| OKLab | oklab(43.37% 0.1502 0.0091) |
| OKLCH | oklch(43.37% 0.151 3.5) |
| XYZ | xyz(12.7655, 7.0991, 6.8277) |
| Luminance | 0.0710 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.18
Purple Red
#990147
ΔE00 2.52
Mulberry
#920A4E
ΔE00 2.94
Reddish Purple
#910951
ΔE00 3.85
Wine (survey)
#80013F
ΔE00 4.31
Red Purple
#820747
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1D48 #1D8E63
analogous
#8E1D80 #8E1D48 #8E2A1D
triadic
#8E1D48 #488E1D #1D488E
tetradic
#8E1D48 #808E1D #1D8E63 #2A1D8E
square
#8E1D48 #808E1D #1D8E63 #2A1D8E
split-complementary
#8E1D48 #1D8E2A #1D808E
monochromatic
#280814 #5B132E #8E1D48 #C12762 #DA4B82
Accessibility & contrast
On white
8.68
#8E1D48 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.42
#8E1D48 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1D48
8.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1D48 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1D48 | 1.00 | 8.68 | 2.42 | 8.68 |
| #FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393D49
Deuteranopia (green-blind)
#575345
Tritanopia (blue-blind)
#9B0030
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1d48; /* rgb */ color: rgb(142, 29, 72); /* oklch */ color: oklch(43.4% 0.150 3.5);
Tailwind
colors: {
custom: {
50: '#b4657a',
500: '#8e1d48',
950: '#000000',
},
}SCSS
$custom: #8e1d48; $custom-light: #b4657a; $custom-dark: #000000;
JSON
{
"hex": "#8e1d48",
"rgb": {
"r": 142,
"g": 29,
"b": 72
},
"hsl": {
"h": 337.168,
"s": 66.082,
"l": 33.529
},
"oklch": {
"l": 0.43369,
"c": 0.1505,
"h": 3.5
},
"luminance": 0.07097
}Semantic roles & 50–950 ramp
primary
#8E1D48
secondary
#4ABD91
accent
#E9A83F
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B