Skip to content
Vectorlight.net

#aa798a

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

HEX
#aa798a
RGB
170, 121, 138
HSL
339.18°, 22.37%, 57.06%
OKLCH
0.63 0.07 356.58
Names
—
Lists

Codes

FormatValue
HEX#aa798a
RGBrgb(170 121 138)
HSLhsl(339.18 22.37% 57.06%)
OKLCHoklch(0.63 0.07 356.58)
CMYKcmyk(0% 28.82% 18.82% 33.33%)
Android#ffaa798a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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