#8E2156#8E2156
#8E2156 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.2% C 0.151 H 355.8°. Best body text is #FFFFFF at 8.39:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2156 |
|---|---|
| RGB | rgb(142, 33, 86) |
| HSL | hsl(331, 62%, 34%) |
| HSV | hsv(331, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 39.4%, 44.3%) |
| CIE-LAB | lab(32.95, 49.13, -4.47) |
| CIE-LCH | lch(32.95, 49.33, 354.81°) |
| OKLab | oklab(44.19% 0.1509 -0.0111) |
| OKLCH | oklch(44.19% 0.151 355.8) |
| XYZ | xyz(13.3798, 7.5120, 9.5477) |
| Luminance | 0.0751 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.27
Mulberry
#920A4E
ΔE00 2.66
Dark Magenta
#960056
ΔE00 2.70
Dark Fuchsia
#9D0759
ΔE00 3.03
Deep Magenta
#A0025C
ΔE00 3.57
Red Purple
#820747
ΔE00 4.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2156 #218E59
analogous
#8E218D #8E2156 #8E2321
triadic
#8E2156 #568E21 #21568E
tetradic
#8E2156 #8D8E21 #218E59 #23218E
square
#8E2156 #8D8E21 #218E59 #23218E
split-complementary
#8E2156 #218E23 #218D8E
monochromatic
#2B0A1A #5C1538 #8E2156 #C02D74 #D75293
Accessibility & contrast
On white
8.39
#8E2156 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E2156 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2156
8.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2156 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2156 | 1.00 | 8.39 | 2.50 | 8.39 |
| #FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.39 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374157
Deuteranopia (green-blind)
#555554
Tritanopia (blue-blind)
#9A1338
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e2156; /* rgb */ color: rgb(142, 33, 86); /* oklch */ color: oklch(44.2% 0.151 355.8);
Tailwind
colors: {
custom: {
50: '#b46785',
500: '#8e2156',
950: '#000000',
},
}SCSS
$custom: #8e2156; $custom-light: #b46785; $custom-dark: #000000;
JSON
{
"hex": "#8e2156",
"rgb": {
"r": 142,
"g": 33,
"b": 86
},
"hsl": {
"h": 330.826,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.44187,
"c": 0.15129,
"h": 355.8
},
"luminance": 0.0751
}Semantic roles & 50–950 ramp
primary
#8E2156
secondary
#50BA87
accent
#E59642
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C