#8E2174#8E2174
#8E2174 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.5% C 0.168 H 339.5°. Best body text is #FFFFFF at 8.02:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2174 |
|---|---|
| RGB | rgb(142, 33, 116) |
| HSL | hsl(314, 62%, 34%) |
| HSV | hsv(314, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 18.3%, 44.3%) |
| CIE-LAB | lab(34.19, 52.96, -21.79) |
| CIE-LCH | lch(34.19, 57.27, 337.64°) |
| OKLab | oklab(45.5% 0.1577 -0.0589) |
| OKLCH | oklch(45.5% 0.168 339.5) |
| XYZ | xyz(14.8520, 8.1009, 17.3011) |
| Luminance | 0.0810 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 4.88
Warm Purple
#952E8F
ΔE00 5.42
Darkish Purple
#751973
ΔE00 6.04
Darkmagenta
#8B008B
ΔE00 6.35
Purple
#800080
ΔE00 6.56
Bruise
#7E4071
ΔE00 6.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2174 #218E3B
analogous
#72218E #8E2174 #8E213E
triadic
#8E2174 #748E21 #21748E
tetradic
#8E2174 #8E7221 #218E3B #213E8E
square
#8E2174 #8E7221 #218E3B #213E8E
split-complementary
#8E2174 #3E8E21 #218E72
monochromatic
#2B0A23 #5C154B #8E2174 #C02D9D #D752B7
Accessibility & contrast
On white
8.02
#8E2174 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8E2174 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2174
8.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2174 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2174 | 1.00 | 8.02 | 2.62 | 8.02 |
| #FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284576
Deuteranopia (green-blind)
#4C5771
Tritanopia (blue-blind)
#972548
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e2174; /* rgb */ color: rgb(142, 33, 116); /* oklch */ color: oklch(45.5% 0.168 339.5);
Tailwind
colors: {
custom: {
50: '#b3689c',
500: '#8e2174',
950: '#000000',
},
}SCSS
$custom: #8e2174; $custom-light: #b3689c; $custom-dark: #000000;
JSON
{
"hex": "#8e2174",
"rgb": {
"r": 142,
"g": 33,
"b": 116
},
"hsl": {
"h": 314.312,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.45502,
"c": 0.16838,
"h": 339.5
},
"luminance": 0.08099
}Semantic roles & 50–950 ramp
primary
#8E2174
secondary
#50BA6A
accent
#E56942
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E