#8E1547#8E1547
#8E1547 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.8% C 0.157 H 2.8°. Best body text is #FFFFFF at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1547 |
|---|---|
| RGB | rgb(142, 21, 71) |
| HSL | hsl(335, 74%, 32%) |
| HSV | hsv(335, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 50%, 44.3%) |
| CIE-LAB | lab(31.22, 51.17, 2.84) |
| CIE-LCH | lch(31.22, 51.25, 3.18°) |
| OKLab | oklab(42.76% 0.1571 0.0078) |
| OKLCH | oklch(42.76% 0.157 2.8) |
| XYZ | xyz(12.5619, 6.7438, 6.6002) |
| Luminance | 0.0674 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.05
Purple Red
#990147
ΔE00 2.18
Mulberry
#920A4E
ΔE00 2.31
Reddish Purple
#910951
ΔE00 3.27
Wine (survey)
#80013F
ΔE00 3.58
Red Purple
#820747
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1547 #158E5C
analogous
#8E1584 #8E1547 #8E2015
triadic
#8E1547 #478E15 #15478E
tetradic
#8E1547 #848E15 #158E5C #20158E
square
#8E1547 #848E15 #158E5C #20158E
split-complementary
#8E1547 #158E20 #15848E
monochromatic
#230512 #590D2C #8E1547 #C31D62 #E23B80
Accessibility & contrast
On white
8.94
#8E1547 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8E1547 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1547
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1547 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1547 | 1.00 | 8.94 | 2.35 | 8.94 |
| #FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#353B48
Deuteranopia (green-blind)
#555244
Tritanopia (blue-blind)
#9B002C
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1547; /* rgb */ color: rgb(142, 21, 71); /* oklch */ color: oklch(42.8% 0.157 2.8);
Tailwind
colors: {
custom: {
50: '#b5627a',
500: '#8e1547',
950: '#000000',
},
}SCSS
$custom: #8e1547; $custom-light: #b5627a; $custom-dark: #000000;
JSON
{
"hex": "#8e1547",
"rgb": {
"r": 142,
"g": 21,
"b": 71
},
"hsl": {
"h": 335.207,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.42761,
"c": 0.15727,
"h": 2.8
},
"luminance": 0.06742
}Semantic roles & 50–950 ramp
primary
#8E1547
secondary
#3DC28B
accent
#F1A437
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B