#8E1A4D#8E1A4D
#8E1A4D is a dark, vivid pink. Relative luminance 0.070; OKLCH L 43.3% C 0.155 H 0.0°. Best body text is #FFFFFF at 8.73:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A4D |
|---|---|
| RGB | rgb(142, 26, 77) |
| HSL | hsl(334, 69%, 33%) |
| HSV | hsv(334, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 45.8%, 44.3%) |
| CIE-LAB | lab(31.87, 50.39, -0.17) |
| CIE-LCH | lch(31.87, 50.39, 359.81°) |
| OKLab | oklab(43.3% 0.1549 0.0001) |
| OKLCH | oklch(43.3% 0.155 0) |
| XYZ | xyz(12.8653, 7.0271, 7.6986) |
| Luminance | 0.0703 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 1.47
Reddish Purple
#910951
ΔE00 2.12
Berry
#990F4B
ΔE00 2.51
Purple Red
#990147
ΔE00 3.13
Dark Magenta
#960056
ΔE00 3.28
Red Purple
#820747
ΔE00 3.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A4D #1A8E5B
analogous
#8E1A87 #8E1A4D #8E211A
triadic
#8E1A4D #4D8E1A #1A4D8E
tetradic
#8E1A4D #878E1A #1A8E5B #211A8E
square
#8E1A4D #878E1A #1A8E5B #211A8E
split-complementary
#8E1A4D #1A8E21 #1A878E
monochromatic
#270715 #5A1131 #8E1A4D #C22369 #DD4588
Accessibility & contrast
On white
8.73
#8E1A4D on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.41
#8E1A4D on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A4D
8.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A4D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A4D | 1.00 | 8.73 | 2.41 | 8.73 |
| #FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363D4E
Deuteranopia (green-blind)
#55534A
Tritanopia (blue-blind)
#9B0031
Achromatopsia (no color)
#4B4B4B
Design tokens & code
CSS
--color: #8e1a4d; /* rgb */ color: rgb(142, 26, 77); /* oklch */ color: oklch(43.3% 0.155 0.0);
Tailwind
colors: {
custom: {
50: '#b4647e',
500: '#8e1a4d',
950: '#000000',
},
}SCSS
$custom: #8e1a4d; $custom-light: #b4647e; $custom-dark: #000000;
JSON
{
"hex": "#8e1a4d",
"rgb": {
"r": 142,
"g": 26,
"b": 77
},
"hsl": {
"h": 333.621,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.433,
"c": 0.15492,
"h": 0
},
"luminance": 0.07025
}Semantic roles & 50–950 ramp
primary
#8E1A4D
secondary
#45BE89
accent
#EC9F3C
background
#FBF6F7
surface
#F6EBEE
border
#D0C6C9
text
#12060A
muted
#817A7C