#8E1948#8E1948
#8E1948 is a dark, vivid pink. Relative luminance 0.069; OKLCH L 43.1% C 0.154 H 2.8°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #8E1948 |
|---|---|
| RGB | rgb(142, 25, 72) |
| HSL | hsl(336, 70%, 33%) |
| HSV | hsv(336, 82%, 56%) |
| CMYK | cmyk(0%, 82.4%, 49.3%, 44.3%) |
| CIE-LAB | lab(31.61, 50.21, 2.75) |
| CIE-LCH | lch(31.61, 50.28, 3.14°) |
| OKLab | oklab(43.06% 0.1541 0.0076) |
| OKLCH | oklch(43.06% 0.154 2.8) |
| XYZ | xyz(12.6738, 6.9157, 6.7971) |
| Luminance | 0.0691 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.04
Purple Red
#990147
ΔE00 2.33
Mulberry
#920A4E
ΔE00 2.43
Reddish Purple
#910951
ΔE00 3.37
Wine (survey)
#80013F
ΔE00 3.88
Red Purple
#820747
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E1948 #198E5F
analogous
#8E1983 #8E1948 #8E2419
triadic
#8E1948 #488E19 #19488E
tetradic
#8E1948 #838E19 #198E5F #24198E
square
#8E1948 #838E19 #198E5F #24198E
split-complementary
#8E1948 #198E24 #19838E
monochromatic
#260713 #5A102E #8E1948 #C22262 #DE4382
Accessibility & contrast
On white
8.81
#8E1948 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#8E1948 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E1948
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E1948 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E1948 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#373C49
Deuteranopia (green-blind)
#565245
Tritanopia (blue-blind)
#9B002E
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #8e1948; /* rgb */ color: rgb(142, 25, 72); /* oklch */ color: oklch(43.1% 0.154 2.8);
Tailwind
colors: {
custom: {
50: '#b5647a',
500: '#8e1948',
950: '#000000',
},
}SCSS
$custom: #8e1948; $custom-light: #b5647a; $custom-dark: #000000;
JSON
{
"hex": "#8e1948",
"rgb": {
"r": 142,
"g": 25,
"b": 72
},
"hsl": {
"h": 335.897,
"s": 70.06,
"l": 32.745
},
"oklch": {
"l": 0.43063,
"c": 0.15424,
"h": 2.8
},
"luminance": 0.06914
}Semantic roles & 50–950 ramp
primary
#8E1948
secondary
#44BF8E
accent
#EDA53B
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B