#8E1F47#8E1F47
#8E1F47 is a dark, vivid pink. Relative luminance 0.072; OKLCH L 43.5% C 0.148 H 4.4°. Best body text is #FFFFFF at 8.62:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1F47 |
|---|---|
| RGB | rgb(142, 31, 71) |
| HSL | hsl(338, 64%, 34%) |
| HSV | hsv(338, 78%, 56%) |
| CMYK | cmyk(0%, 78.2%, 50%, 44.3%) |
| CIE-LAB | lab(32.23, 48.29, 4.30) |
| CIE-LCH | lch(32.23, 48.48, 5.09°) |
| OKLab | oklab(43.51% 0.1478 0.0115) |
| OKLCH | oklch(43.51% 0.148 4.4) |
| XYZ | xyz(12.7837, 7.1874, 6.6742) |
| Luminance | 0.0719 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.42
Purple Red
#990147
ΔE00 2.68
Mulberry
#920A4E
ΔE00 3.51
Reddish Purple
#910951
ΔE00 4.43
Wine (survey)
#80013F
ΔE00 4.64
Red Wine
#8C0034
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1F47 #1F8E66
analogous
#8E1F7F #8E1F47 #8E2E1F
triadic
#8E1F47 #478E1F #1F478E
tetradic
#8E1F47 #7F8E1F #1F8E66 #2E1F8E
square
#8E1F47 #7F8E1F #1F8E66 #2E1F8E
split-complementary
#8E1F47 #1F8E2E #1F7F8E
monochromatic
#2A0915 #5C142E #8E1F47 #C02A60 #D94F80
Accessibility & contrast
On white
8.62
#8E1F47 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.44
#8E1F47 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1F47
8.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1F47 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1F47 | 1.00 | 8.62 | 2.44 | 8.62 |
| #FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3A3E48
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#9B0330
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e1f47; /* rgb */ color: rgb(142, 31, 71); /* oklch */ color: oklch(43.5% 0.148 4.4);
Tailwind
colors: {
custom: {
50: '#b4667a',
500: '#8e1f47',
950: '#000000',
},
}SCSS
$custom: #8e1f47; $custom-light: #b4667a; $custom-dark: #000000;
JSON
{
"hex": "#8e1f47",
"rgb": {
"r": 142,
"g": 31,
"b": 71
},
"hsl": {
"h": 338.378,
"s": 64.162,
"l": 33.922
},
"oklch": {
"l": 0.43505,
"c": 0.14823,
"h": 4.4
},
"luminance": 0.07186
}Semantic roles & 50–950 ramp
primary
#8E1F47
secondary
#4DBB94
accent
#E7AB41
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B