#8E1540#8E1540
#8E1540 is a dark, vivid pink. Relative luminance 0.067; OKLCH L 42.6% C 0.156 H 6.8°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1540 |
|---|---|
| RGB | rgb(142, 21, 64) |
| HSL | hsl(339, 74%, 32%) |
| HSV | hsv(339, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 54.9%, 44.3%) |
| CIE-LAB | lab(31.02, 50.59, 7.20) |
| CIE-LCH | lch(31.02, 51.10, 8.10°) |
| OKLab | oklab(42.55% 0.1544 0.0185) |
| OKLCH | oklch(42.55% 0.156 6.8) |
| XYZ | xyz(12.3501, 6.6591, 5.4845) |
| Luminance | 0.0666 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Purple Red
#990147
ΔE00 2.67
Red Wine
#8C0034
ΔE00 3.06
Berry
#990F4B
ΔE00 3.11
Cranberry
#9E003A
ΔE00 4.21
Mulberry
#920A4E
ΔE00 4.49
Wine (survey)
#80013F
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1540 #158E63
analogous
#8E157D #8E1540 #8E2715
triadic
#8E1540 #408E15 #15408E
tetradic
#8E1540 #7D8E15 #158E63 #27158E
square
#8E1540 #7D8E15 #158E63 #27158E
split-complementary
#8E1540 #158E27 #157D8E
monochromatic
#230510 #590D28 #8E1540 #C31D58 #E23B77
Accessibility & contrast
On white
9.01
#8E1540 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E1540 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1540
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1540 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1540 | 1.00 | 9.01 | 2.33 | 9.01 |
| #FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.33 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373A41
Deuteranopia (green-blind)
#56513D
Tritanopia (blue-blind)
#9B0029
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1540; /* rgb */ color: rgb(142, 21, 64); /* oklch */ color: oklch(42.6% 0.156 6.8);
Tailwind
colors: {
custom: {
50: '#b56274',
500: '#8e1540',
950: '#000000',
},
}SCSS
$custom: #8e1540; $custom-light: #b56274; $custom-dark: #000000;
JSON
{
"hex": "#8e1540",
"rgb": {
"r": 142,
"g": 21,
"b": 64
},
"hsl": {
"h": 338.678,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.42551,
"c": 0.15553,
"h": 6.8
},
"luminance": 0.06657
}Semantic roles & 50–950 ramp
primary
#8E1540
secondary
#3DC293
accent
#F1AF37
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120608
muted
#817A7B