#8E1840#8E1840
#8E1840 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.8% C 0.153 H 7.3°. Best body text is #FFFFFF at 8.92:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1840 |
|---|---|
| RGB | rgb(142, 24, 64) |
| HSL | hsl(340, 71%, 33%) |
| HSV | hsv(340, 83%, 56%) |
| CMYK | cmyk(0%, 83.1%, 54.9%, 44.3%) |
| CIE-LAB | lab(31.29, 49.81, 7.59) |
| CIE-LCH | lch(31.29, 50.38, 8.66°) |
| OKLab | oklab(42.75% 0.1519 0.0195) |
| OKLCH | oklch(42.75% 0.153 7.3) |
| XYZ | xyz(12.4086, 6.7760, 5.5040) |
| Luminance | 0.0677 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.92
Red Wine
#8C0034
ΔE00 3.06
Berry
#990F4B
ΔE00 3.29
Cranberry
#9E003A
ΔE00 4.07
Mulberry
#920A4E
ΔE00 4.77
Wine (survey)
#80013F
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1840 #188E66
analogous
#8E187B #8E1840 #8E2B18
triadic
#8E1840 #408E18 #18408E
tetradic
#8E1840 #7B8E18 #188E66 #2B188E
square
#8E1840 #7B8E18 #188E66 #2B188E
split-complementary
#8E1840 #188E2B #187B8E
monochromatic
#250611 #5A0F28 #8E1840 #C22158 #DF4177
Accessibility & contrast
On white
8.92
#8E1840 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.35
#8E1840 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1840
8.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1840 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1840 | 1.00 | 8.92 | 2.35 | 8.92 |
| #FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.92 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393B41
Deuteranopia (green-blind)
#57523D
Tritanopia (blue-blind)
#9B002A
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1840; /* rgb */ color: rgb(142, 24, 64); /* oklch */ color: oklch(42.8% 0.153 7.3);
Tailwind
colors: {
custom: {
50: '#b56374',
500: '#8e1840',
950: '#000000',
},
}SCSS
$custom: #8e1840; $custom-light: #b56374; $custom-dark: #000000;
JSON
{
"hex": "#8e1840",
"rgb": {
"r": 142,
"g": 24,
"b": 64
},
"hsl": {
"h": 339.661,
"s": 71.084,
"l": 32.549
},
"oklch": {
"l": 0.42752,
"c": 0.15313,
"h": 7.3
},
"luminance": 0.06774
}Semantic roles & 50–950 ramp
primary
#8E1840
secondary
#42C095
accent
#EEB13A
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B