Skip to content
Vectorlight.net

#871f4e

Codes, contrast, shades, harmonies and SVG snippets for this color.

HEX
#871f4e
RGB
135, 31, 78
HSL
332.88°, 62.65%, 32.55%
OKLCH
0.42 0.14 357.98
Names
—
Lists

Codes

FormatValue
HEX#871f4e
RGBrgb(135 31 78)
HSLhsl(332.88 62.65% 32.55%)
OKLCHoklch(0.42 0.14 357.98)
CMYKcmyk(0% 77.04% 42.22% 47.06%)
Android#ff871f4e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
8.98:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.33:1
Fail AA normal text
Fail AA large text
On black #000000 · Best text #ffffff

Open in contrast checker

Shades & tints

OKLCH lightness, mixed toward white then black.

Open in shades & tints

Harmonies

Complementary

Analogous

Triadic

Open in palette generator

Color-blindness

Normal
Protanopia
Deuteranopia
Tritanopia

Open simulator

SVG snippets

fill
fill="#871f4e"
Gradient stop
<stop stop-color="#871f4e"/>
CSS variable + fill
:root { --c: #871f4e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #871f4e;
background-color: #871f4e;
bg-[#871f4e]