Skip to content
Vectorlight.net

#a2987f

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

HEX
#a2987f
RGB
162, 152, 127
HSL
42.86°, 15.84%, 56.67%
OKLCH
0.68 0.04 88.81
Names
—
Lists

Codes

FormatValue
HEX#a2987f
RGBrgb(162 152 127)
HSLhsl(42.86 15.84% 56.67%)
OKLCHoklch(0.68 0.04 88.81)
CMYKcmyk(0% 6.17% 21.6% 36.47%)
Android#ffa2987f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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