#8E1748#8E1748
#8E1748 is a dark, vivid pink. Relative luminance 0.068; OKLCH L 42.9% C 0.156 H 2.5°. Best body text is #FFFFFF at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1748 |
|---|---|
| RGB | rgb(142, 23, 72) |
| HSL | hsl(335, 72%, 32%) |
| HSV | hsv(335, 84%, 56%) |
| CMYK | cmyk(0%, 83.8%, 49.3%, 44.3%) |
| CIE-LAB | lab(31.42, 50.75, 2.48) |
| CIE-LCH | lch(31.42, 50.81, 2.80°) |
| OKLab | oklab(42.92% 0.1558 0.0069) |
| OKLCH | oklch(42.92% 0.156 2.5) |
| XYZ | xyz(12.6325, 6.8332, 6.7834) |
| Luminance | 0.0683 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.04
Mulberry
#920A4E
ΔE00 2.22
Purple Red
#990147
ΔE00 2.30
Reddish Purple
#910951
ΔE00 3.16
Wine (survey)
#80013F
ΔE00 3.70
Red Purple
#820747
ΔE00 3.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1748 #178E5D
analogous
#8E1784 #8E1748 #8E2117
triadic
#8E1748 #488E17 #17488E
tetradic
#8E1748 #848E17 #178E5D #21178E
square
#8E1748 #848E17 #178E5D #21178E
split-complementary
#8E1748 #178E21 #17848E
monochromatic
#250613 #590E2D #8E1748 #C32063 #E03F82
Accessibility & contrast
On white
8.87
#8E1748 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.37
#8E1748 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1748
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1748 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1748 | 1.00 | 8.87 | 2.37 | 8.87 |
| #FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#363B49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1748; /* rgb */ color: rgb(142, 23, 72); /* oklch */ color: oklch(42.9% 0.156 2.5);
Tailwind
colors: {
custom: {
50: '#b5637a',
500: '#8e1748',
950: '#000000',
},
}SCSS
$custom: #8e1748; $custom-light: #b5637a; $custom-dark: #000000;
JSON
{
"hex": "#8e1748",
"rgb": {
"r": 142,
"g": 23,
"b": 72
},
"hsl": {
"h": 335.294,
"s": 72.121,
"l": 32.353
},
"oklch": {
"l": 0.42923,
"c": 0.15595,
"h": 2.5
},
"luminance": 0.06831
}Semantic roles & 50–950 ramp
primary
#8E1748
secondary
#40C08C
accent
#EFA439
background
#FBF6F7
surface
#F7EBED
border
#D0C6C8
text
#120609
muted
#817A7B