#8E2160#8E2160
#8E2160 is a dark, vivid pink. Relative luminance 0.077; OKLCH L 44.6% C 0.156 H 350.0°. Best body text is #FFFFFF at 8.28:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2160 |
|---|---|
| RGB | rgb(142, 33, 96) |
| HSL | hsl(325, 62%, 34%) |
| HSV | hsv(325, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 32.4%, 44.3%) |
| CIE-LAB | lab(33.32, 50.29, -10.38) |
| CIE-LCH | lch(33.32, 51.35, 348.34°) |
| OKLab | oklab(44.58% 0.1538 -0.0271) |
| OKLCH | oklch(44.58% 0.156 350) |
| XYZ | xyz(13.8113, 7.6846, 11.8200) |
| Luminance | 0.0768 (WCAG relative) |
| Temperature | warm |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 3.41
Dark Magenta
#960056
ΔE00 3.54
Dark Fuchsia
#9D0759
ΔE00 4.00
Reddish Purple
#910951
ΔE00 4.01
Deep Magenta
#A0025C
ΔE00 4.07
Mulberry
#920A4E
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2160 #218E4F
analogous
#86218E #8E2160 #8E212A
triadic
#8E2160 #608E21 #21608E
tetradic
#8E2160 #8E8621 #218E4F #212A8E
square
#8E2160 #8E8621 #218E4F #212A8E
split-complementary
#8E2160 #2A8E21 #218E86
monochromatic
#2B0A1D #5C153E #8E2160 #C02D82 #D7529F
Accessibility & contrast
On white
8.28
#8E2160 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.54
#8E2160 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2160
8.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2160 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2160 | 1.00 | 8.28 | 2.54 | 8.28 |
| #FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.28 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#334262
Deuteranopia (green-blind)
#53555E
Tritanopia (blue-blind)
#991A3D
Achromatopsia (no color)
#4E4E4E
Design tokens & code
CSS
--color: #8e2160; /* rgb */ color: rgb(142, 33, 96); /* oklch */ color: oklch(44.6% 0.156 350.0);
Tailwind
colors: {
custom: {
50: '#b3688d',
500: '#8e2160',
950: '#000000',
},
}SCSS
$custom: #8e2160; $custom-light: #b3688d; $custom-dark: #000000;
JSON
{
"hex": "#8e2160",
"rgb": {
"r": 142,
"g": 33,
"b": 96
},
"hsl": {
"h": 325.321,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.44581,
"c": 0.15612,
"h": 350
},
"luminance": 0.07683
}Semantic roles & 50–950 ramp
primary
#8E2160
secondary
#50BA7D
accent
#E58742
background
#FBF6F8
surface
#F6EBF0
border
#D0C6CB
text
#12070C
muted
#817A7D