#8E1548#8E1548
#8E1548 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.158 H 2.3°. Best body text is #FFFFFF at 8.93:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1548 |
|---|---|
| RGB | rgb(142, 21, 72) |
| HSL | hsl(335, 74%, 32%) |
| HSV | hsv(335, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 49.3%, 44.3%) |
| CIE-LAB | lab(31.25, 51.26, 2.22) |
| CIE-LCH | lch(31.25, 51.31, 2.48°) |
| OKLab | oklab(42.79% 0.1574 0.0062) |
| OKLCH | oklch(42.79% 0.158 2.3) |
| XYZ | xyz(12.5943, 6.7568, 6.7706) |
| Luminance | 0.0675 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Mulberry
#920A4E
ΔE00 2.03
Berry
#990F4B
ΔE00 2.06
Purple Red
#990147
ΔE00 2.29
Reddish Purple
#910951
ΔE00 2.97
Wine (survey)
#80013F
ΔE00 3.55
Red Purple
#820747
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1548 #158E5B
analogous
#8E1585 #8E1548 #8E1F15
triadic
#8E1548 #488E15 #15488E
tetradic
#8E1548 #858E15 #158E5B #1F158E
square
#8E1548 #858E15 #158E5B #1F158E
split-complementary
#8E1548 #158E1F #15858E
monochromatic
#230512 #590D2D #8E1548 #C31D63 #E23B82
Accessibility & contrast
On white
8.93
#8E1548 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8E1548 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1548
8.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1548 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1548 | 1.00 | 8.93 | 2.35 | 8.93 |
| #FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353B49
Deuteranopia (green-blind)
#555245
Tritanopia (blue-blind)
#9B002D
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1548; /* rgb */ color: rgb(142, 21, 72); /* oklch */ color: oklch(42.8% 0.158 2.3);
Tailwind
colors: {
custom: {
50: '#b5627a',
500: '#8e1548',
950: '#000000',
},
}SCSS
$custom: #8e1548; $custom-light: #b5627a; $custom-dark: #000000;
JSON
{
"hex": "#8e1548",
"rgb": {
"r": 142,
"g": 21,
"b": 72
},
"hsl": {
"h": 334.711,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.42793,
"c": 0.15756,
"h": 2.3
},
"luminance": 0.06755
}Semantic roles & 50–950 ramp
primary
#8E1548
secondary
#3DC28A
accent
#F1A237
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B