#8E1537#8E1537
#8E1537 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.3% C 0.154 H 11.9°. Best body text is #FFFFFF at 9.08:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1537 |
|---|---|
| RGB | rgb(142, 21, 55) |
| HSL | hsl(343, 74%, 32%) |
| HSV | hsv(343, 85%, 56%) |
| CMYK | cmyk(0%, 85.2%, 61.3%, 44.3%) |
| CIE-LAB | lab(30.79, 49.93, 12.88) |
| CIE-LCH | lch(30.79, 51.56, 14.46°) |
| OKLab | oklab(42.32% 0.1508 0.0318) |
| OKLCH | oklch(42.32% 0.154 11.9) |
| XYZ | xyz(12.1144, 6.5648, 4.2429) |
| Luminance | 0.0656 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.78
Cranberry
#9E003A
ΔE00 2.94
Bordeaux
#7B002C
ΔE00 4.48
Purple Red
#990147
ΔE00 5.19
Wine Red
#7B0323
ΔE00 5.46
Berry
#990F4B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1537 #158E6C
analogous
#8E1574 #8E1537 #8E2F15
triadic
#8E1537 #378E15 #15378E
tetradic
#8E1537 #748E15 #158E6C #2F158E
square
#8E1537 #748E15 #158E6C #2F158E
split-complementary
#8E1537 #158E2F #15748E
monochromatic
#23050E #590D22 #8E1537 #C31D4C #E23B6A
Accessibility & contrast
On white
9.08
#8E1537 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.31
#8E1537 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1537
9.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1537 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1537 | 1.00 | 9.08 | 2.31 | 9.08 |
| #FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 9.08 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#393937
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#9C0025
Achromatopsia (no color)
#484848
Design tokens & code
CSS
--color: #8e1537; /* rgb */ color: rgb(142, 21, 55); /* oklch */ color: oklch(42.3% 0.154 11.9);
Tailwind
colors: {
custom: {
50: '#b6626d',
500: '#8e1537',
950: '#000000',
},
}SCSS
$custom: #8e1537; $custom-light: #b6626d; $custom-dark: #000000;
JSON
{
"hex": "#8e1537",
"rgb": {
"r": 142,
"g": 21,
"b": 55
},
"hsl": {
"h": 343.14,
"s": 74.233,
"l": 31.961
},
"oklch": {
"l": 0.42315,
"c": 0.15412,
"h": 11.9
},
"luminance": 0.06563
}Semantic roles & 50–950 ramp
primary
#8E1537
secondary
#3DC29C
accent
#F1BD37
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A