Skip to content
Vectorlight.net

#a1787f

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

HEX
#a1787f
RGB
161, 120, 127
HSL
349.76°, 17.9%, 55.1%
OKLCH
0.62 0.05 7.34
Names
—
Lists

Codes

FormatValue
HEX#a1787f
RGBrgb(161 120 127)
HSLhsl(349.76 17.9% 55.1%)
OKLCHoklch(0.62 0.05 7.34)
CMYKcmyk(0% 25.47% 21.12% 36.86%)
Android#ffa1787f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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="#a1787f"
Gradient stop
<stop stop-color="#a1787f"/>
CSS variable + fill
:root { --c: #a1787f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

color / background
color: #a1787f;
background-color: #a1787f;
bg-[#a1787f]