Skip to content
Vectorlight.net

#87171e

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

HEX
#87171e
RGB
135, 23, 30
HSL
356.25°, 70.89%, 30.98%
OKLCH
0.41 0.15 24.03
Names
—
Lists

Codes

FormatValue
HEX#87171e
RGBrgb(135 23 30)
HSLhsl(356.25 70.89% 30.98%)
OKLCHoklch(0.41 0.15 24.03)
CMYKcmyk(0% 82.96% 77.78% 47.06%)
Android#ff87171e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
9.67:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
2.17: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="#87171e"
Gradient stop
<stop stop-color="#87171e"/>
CSS variable + fill
:root { --c: #87171e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #87171e;
background-color: #87171e;
bg-[#87171e]