#8E2155#8E2155
#8E2155 is a dark, vivid pink. Relative luminance 0.075; OKLCH L 44.1% C 0.151 H 356.4°. Best body text is #FFFFFF at 8.40:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2155 |
|---|---|
| RGB | rgb(142, 33, 85) |
| HSL | hsl(331, 62%, 34%) |
| HSV | hsv(331, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 40.1%, 44.3%) |
| CIE-LAB | lab(32.91, 49.02, -3.87) |
| CIE-LCH | lch(32.91, 49.17, 355.49°) |
| OKLab | oklab(44.15% 0.1506 -0.0095) |
| OKLCH | oklch(44.15% 0.151 356.4) |
| XYZ | xyz(13.3398, 7.4960, 9.3370) |
| Luminance | 0.0749 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Reddish Purple
#910951
ΔE00 2.22
Mulberry
#920A4E
ΔE00 2.50
Dark Magenta
#960056
ΔE00 2.77
Dark Fuchsia
#9D0759
ΔE00 3.06
Deep Magenta
#A0025C
ΔE00 3.64
Berry
#990F4B
ΔE00 4.05
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2155 #218E5A
analogous
#8E218C #8E2155 #8E2321
triadic
#8E2155 #558E21 #21558E
tetradic
#8E2155 #8C8E21 #218E5A #23218E
square
#8E2155 #8C8E21 #218E5A #23218E
split-complementary
#8E2155 #218E23 #218C8E
monochromatic
#2B0A1A #5C1537 #8E2155 #C02D73 #D75292
Accessibility & contrast
On white
8.40
#8E2155 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.50
#8E2155 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2155
8.40:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2155 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2155 | 1.00 | 8.40 | 2.50 | 8.40 |
| #FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.50 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.40 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#374056
Deuteranopia (green-blind)
#555553
Tritanopia (blue-blind)
#9A1338
Achromatopsia (no color)
#4D4D4D
Design tokens & code
CSS
--color: #8e2155; /* rgb */ color: rgb(142, 33, 85); /* oklch */ color: oklch(44.1% 0.151 356.4);
Tailwind
colors: {
custom: {
50: '#b46784',
500: '#8e2155',
950: '#000000',
},
}SCSS
$custom: #8e2155; $custom-light: #b46784; $custom-dark: #000000;
JSON
{
"hex": "#8e2155",
"rgb": {
"r": 142,
"g": 33,
"b": 85
},
"hsl": {
"h": 331.376,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.4415,
"c": 0.15086,
"h": 356.4
},
"luminance": 0.07494
}Semantic roles & 50–950 ramp
primary
#8E2155
secondary
#50BA88
accent
#E59842
background
#FBF6F8
surface
#F6EBEF
border
#D0C6CA
text
#12070B
muted
#817A7C