Skip to content
Vectorlight.net

#ac798e

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

HEX
#ac798e
RGB
172, 121, 142
HSL
335.29°, 23.5%, 57.45%
OKLCH
0.63 0.07 352.85
Names
—
Lists

Codes

FormatValue
HEX#ac798e
RGBrgb(172 121 142)
HSLhsl(335.29 23.5% 57.45%)
OKLCHoklch(0.63 0.07 352.85)
CMYKcmyk(0% 29.65% 17.44% 32.55%)
Android#ffac798e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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