#8E2175#8E2175
#8E2175 is a mid, vivid pink. Relative luminance 0.081; OKLCH L 45.6% C 0.169 H 339.0°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #8E2175 |
|---|---|
| RGB | rgb(142, 33, 117) |
| HSL | hsl(314, 62%, 34%) |
| HSV | hsv(314, 77%, 56%) |
| CMYK | cmyk(0%, 76.8%, 17.6%, 44.3%) |
| CIE-LAB | lab(34.24, 53.11, -22.34) |
| CIE-LCH | lch(34.24, 57.62, 337.18°) |
| OKLab | oklab(45.55% 0.1579 -0.0605) |
| OKLCH | oklch(45.55% 0.169 339) |
| XYZ | xyz(14.9104, 8.1243, 17.6091) |
| Luminance | 0.0812 (WCAG relative) |
| Temperature | neutral |
| Family | pink |
Closest named colors
Red Violet
#9E0168
ΔE00 5.06
Warm Purple
#952E8F
ΔE00 5.23
Darkish Purple
#751973
ΔE00 5.93
Darkmagenta
#8B008B
ΔE00 6.14
Purple
#800080
ΔE00 6.39
Barney Purple
#A00498
ΔE00 6.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#8E2175 #218E3A
analogous
#71218E #8E2175 #8E213F
triadic
#8E2175 #758E21 #21758E
tetradic
#8E2175 #8E7121 #218E3A #213F8E
square
#8E2175 #8E7121 #218E3A #213F8E
split-complementary
#8E2175 #3F8E21 #218E71
monochromatic
#2B0A23 #5C154C #8E2175 #C02D9E #D752B9
Accessibility & contrast
On white
8.00
#8E2175 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.62
#8E2175 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #8E2175
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##8E2175 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##8E2175 | 1.00 | 8.00 | 2.62 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#284677
Deuteranopia (green-blind)
#4C5772
Tritanopia (blue-blind)
#962649
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #8e2175; /* rgb */ color: rgb(142, 33, 117); /* oklch */ color: oklch(45.6% 0.169 339.0);
Tailwind
colors: {
custom: {
50: '#b3689d',
500: '#8e2175',
950: '#000000',
},
}SCSS
$custom: #8e2175; $custom-light: #b3689d; $custom-dark: #000000;
JSON
{
"hex": "#8e2175",
"rgb": {
"r": 142,
"g": 33,
"b": 117
},
"hsl": {
"h": 313.761,
"s": 62.286,
"l": 34.314
},
"oklch": {
"l": 0.45553,
"c": 0.16906,
"h": 339
},
"luminance": 0.08123
}Semantic roles & 50–950 ramp
primary
#8E2175
secondary
#50BA69
accent
#E56842
background
#FBF6F9
surface
#F6EBF2
border
#D0C6CC
text
#11070E
muted
#807A7E