#8E1738#8E1738
#8E1738 is a dark, vivid pink. Relative luminance 0.066; OKLCH L 42.5% C 0.153 H 11.7°. Best body text is #FFFFFF at 9.01:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1738 |
|---|---|
| RGB | rgb(142, 23, 56) |
| HSL | hsl(343, 72%, 32%) |
| HSV | hsv(343, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 60.6%, 44.3%) |
| CIE-LAB | lab(31.00, 49.48, 12.49) |
| CIE-LCH | lch(31.00, 51.03, 14.16°) |
| OKLab | oklab(42.47% 0.1495 0.031) |
| OKLCH | oklch(42.47% 0.153 11.7) |
| XYZ | xyz(12.1768, 6.6509, 4.3832) |
| Luminance | 0.0665 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Wine
#8C0034
ΔE00 1.94
Cranberry
#9E003A
ΔE00 2.97
Bordeaux
#7B002C
ΔE00 4.61
Purple Red
#990147
ΔE00 5.06
Berry
#990F4B
ΔE00 5.62
Wine Red
#7B0323
ΔE00 5.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1738 #178E6D
analogous
#8E1774 #8E1738 #8E3117
triadic
#8E1738 #388E17 #17388E
tetradic
#8E1738 #748E17 #178E6D #31178E
square
#8E1738 #748E17 #178E6D #31178E
split-complementary
#8E1738 #178E31 #17748E
monochromatic
#25060E #590E23 #8E1738 #C3204D #E03F6C
Accessibility & contrast
On white
9.01
#8E1738 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.33
#8E1738 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1738
9.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1738 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1738 | 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)
#3A3A38
Deuteranopia (green-blind)
#585235
Tritanopia (blue-blind)
#9C0026
Achromatopsia (no color)
#494949
Design tokens & code
CSS
--color: #8e1738; /* rgb */ color: rgb(142, 23, 56); /* oklch */ color: oklch(42.5% 0.153 11.7);
Tailwind
colors: {
custom: {
50: '#b6636e',
500: '#8e1738',
950: '#000000',
},
}SCSS
$custom: #8e1738; $custom-light: #b6636e; $custom-dark: #000000;
JSON
{
"hex": "#8e1738",
"rgb": {
"r": 142,
"g": 23,
"b": 56
},
"hsl": {
"h": 343.361,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42472,
"c": 0.15272,
"h": 11.7
},
"luminance": 0.06649
}Semantic roles & 50–950 ramp
primary
#8E1738
secondary
#40C09D
accent
#EFBC39
background
#FCF6F6
surface
#F8EBEB
border
#D1C6C6
text
#120607
muted
#817A7A