Skip to content
Kolorvia
#8e878c

Color #8e878c

A nearly neutral, gray-leaning medium magenta.

Conversions

HEX
#8e878c
RGB
rgb(142, 135, 140)
HSL
hsl(317.1, 3%, 54.3%)
HSV / HSB
hsv(317.1, 4.9%, 55.7%)
CMYK
cmyk(0%, 4.9%, 1.4%, 44.3%)
LAB
lab(57.05, 3.57, -1.74)
LCH
lch(57.05, 3.97, 334.02)
OKLCH
oklch(63.1%, 0.0111, 335.51)
HWB
hwb(317.1, 52.9%, 44.3%)

Harmony colors

Complementary

#878e89

Analogous

#8c878e
#8e878c
#8e8788

Triadic

#8e878c
#8c8e87
#878c8e

Split-complementary

#8e878c
#888e87
#878e8c

Tetradic

#8e878c
#8e8987
#878e89
#878c8e

Square

#8e878c
#8e8c87
#878e89
#87888e

Shades

Color #8e878c mixed toward black.

#777075
#5f5a5e
#474346
#302d2f
#181617

Tints

Color #8e878c mixed toward white.

#a19b9f
#b4afb2
#c6c3c5
#d9d7d9
#ecebec

Tones

Color #8e878c mixed toward gray.

#8d888c
#8d888b
#8c898b
#8c898b
#8b8a8b

Accessibility

Aa White text on this color
3.5:1
Aa Black text on this color
5.99:1

Black text reads better on this background (5.99:1). That passes WCAG AA (≥4.5:1) for normal-size text, but not AAA.

Under color vision deficiencies

Protanopia

#8b8b8b · ΔE 5.1

Deuteranopia

#8b8c8b · ΔE 6.1

Tritanopia

#8e8a8a · ΔE 3.4

Achromatopsia

#898989 · ΔE 5

Left half is the original, right half is the simulated appearance. See all 8 vision types →

Code

CSS
background-color: #8e878c;
Tailwind (arbitrary value)
bg-[#8e878c]

Related colors

Medium Violet Red #c71585
Deep Pink #ff1493
Hot Pink #ff69b4
Orchid #da70d6
Dark Magenta #8b008b
Fuchsia #ff00ff

Frequently asked questions

#8e878c (#8e878c) is rgb(142, 135, 140) in RGB.

No, #8e878c is not web-safe. The nearest web-safe colors are among its tones and shades below.

Related tools

Build something with this color

Generate a full palette from #8e878c, or check how it holds up for accessibility.

We use cookies for site preferences and, where enabled, Google Analytics and Google AdSense — which may use cookies to personalize ads based on your visits here and elsewhere. See our Privacy Policy for details. Your color tool inputs are never sent to us regardless of your choice.