Skip to content
Vectorlight.net

#a8798e

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

HEX
#a8798e
RGB
168, 121, 142
HSL
333.19°, 21.27%, 56.67%
OKLCH
0.63 0.06 350.65
Names
—
Lists

Codes

FormatValue
HEX#a8798e
RGBrgb(168 121 142)
HSLhsl(333.19 21.27% 56.67%)
OKLCHoklch(0.63 0.06 350.65)
CMYKcmyk(0% 27.98% 15.48% 34.12%)
Android#ffa8798e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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