#8E2148#8E2148
#8E2148 is a dark, vivid pink. Relative luminance 0.073; OKLCH L 43.7% C 0.146 H 4.2°. Best body text is #FFFFFF at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2148 |
|---|---|
| RGB | rgb(142, 33, 72) |
| HSL | hsl(339, 62%, 34%) |
| HSV | hsv(339, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 49.3%, 44.3%) |
| CIE-LAB | lab(32.50, 47.71, 4.03) |
| CIE-LCH | lch(32.50, 47.88, 4.82°) |
| OKLab | oklab(43.71% 0.146 0.0108) |
| OKLCH | oklch(43.71% 0.146 4.2) |
| XYZ | xyz(12.8700, 7.3081, 6.8625) |
| Luminance | 0.0731 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Berry
#990F4B
ΔE00 2.50
Purple Red
#990147
ΔE00 2.87
Mulberry
#920A4E
ΔE00 3.55
Reddish Purple
#910951
ΔE00 4.44
Wine (survey)
#80013F
ΔE00 4.83
Violet Red
#A50055
ΔE00 5.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2148 #218E67
analogous
#8E217F #8E2148 #8E3121
triadic
#8E2148 #488E21 #21488E
tetradic
#8E2148 #7F8E21 #218E67 #31218E
square
#8E2148 #7F8E21 #218E67 #31218E
split-complementary
#8E2148 #218E31 #217F8E
monochromatic
#2B0A16 #5C152F #8E2148 #C02D61 #D75282
Accessibility & contrast
On white
8.53
#8E2148 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.46
#8E2148 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2148
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2148 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2148 | 1.00 | 8.53 | 2.46 | 8.53 |
| #FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.46 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#3B3F49
Deuteranopia (green-blind)
#585445
Tritanopia (blue-blind)
#9B0832
Achromatopsia (no color)
#4C4C4C
Design tokens & code
CSS
--color: #8e2148; /* rgb */ color: rgb(142, 33, 72); /* oklch */ color: oklch(43.7% 0.146 4.2);
Tailwind
colors: {
custom: {
50: '#b4677a',
500: '#8e2148',
950: '#000000',
},
}SCSS
$custom: #8e2148; $custom-light: #b4677a; $custom-dark: #000000;
JSON
{
"hex": "#8e2148",
"rgb": {
"r": 142,
"g": 33,
"b": 72
},
"hsl": {
"h": 338.532,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.43712,
"c": 0.1464,
"h": 4.2
},
"luminance": 0.07306
}Semantic roles & 50–950 ramp
primary
#8E2148
secondary
#50BA94
accent
#E5AB42
background
#FBF6F7
surface
#F6EBED
border
#D0C6C8
text
#120609
muted
#817A7B