#8E1A40#8E1A40
#8E1A40 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 42.9% C 0.151 H 7.7°. Best body text is #FFFFFF at 8.85:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1A40 |
|---|---|
| RGB | rgb(142, 26, 64) |
| HSL | hsl(340, 69%, 33%) |
| HSV | hsv(340, 82%, 56%) |
| CMYK | cmyk(0%, 81.7%, 54.9%, 44.3%) |
| CIE-LAB | lab(31.49, 49.24, 7.86) |
| CIE-LCH | lch(31.49, 49.87, 9.07°) |
| OKLab | oklab(42.9% 0.1501 0.0202) |
| OKLCH | oklch(42.9% 0.151 7.7) |
| XYZ | xyz(12.4513, 6.8615, 5.5183) |
| Luminance | 0.0686 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 3.08
Purple Red
#990147
ΔE00 3.11
Berry
#990F4B
ΔE00 3.44
Cranberry
#9E003A
ΔE00 3.99
Mulberry
#920A4E
ΔE00 4.99
Wine (survey)
#80013F
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1A40 #1A8E68
analogous
#8E1A7A #8E1A40 #8E2E1A
triadic
#8E1A40 #408E1A #1A408E
tetradic
#8E1A40 #7A8E1A #1A8E68 #2E1A8E
square
#8E1A40 #7A8E1A #1A8E68 #2E1A8E
split-complementary
#8E1A40 #1A8E2E #1A7A8E
monochromatic
#270711 #5A1129 #8E1A40 #C22357 #DD4577
Accessibility & contrast
On white
8.85
#8E1A40 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1A40 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1A40
8.85:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1A40 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1A40 | 1.00 | 8.85 | 2.37 | 8.85 |
| #FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.85 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#58523D
Tritanopia (blue-blind)
#9B002B
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1a40; /* rgb */ color: rgb(142, 26, 64); /* oklch */ color: oklch(42.9% 0.151 7.7);
Tailwind
colors: {
custom: {
50: '#b56474',
500: '#8e1a40',
950: '#000000',
},
}SCSS
$custom: #8e1a40; $custom-light: #b56474; $custom-dark: #000000;
JSON
{
"hex": "#8e1a40",
"rgb": {
"r": 142,
"g": 26,
"b": 64
},
"hsl": {
"h": 340.345,
"s": 69.048,
"l": 32.941
},
"oklch": {
"l": 0.42898,
"c": 0.15142,
"h": 7.7
},
"luminance": 0.0686
}Semantic roles & 50–950 ramp
primary
#8E1A40
secondary
#45BE97
accent
#ECB23C
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B