Skip to content
Vectorlight.net

#a6729c

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

HEX
#a6729c
RGB
166, 114, 156
HSL
311.54°, 22.61%, 54.9%
OKLCH
0.62 0.09 333.64
Names
—
Lists

Codes

FormatValue
HEX#a6729c
RGBrgb(166 114 156)
HSLhsl(311.54 22.61% 54.9%)
OKLCHoklch(0.62 0.09 333.64)
CMYKcmyk(0% 31.33% 6.02% 34.9%)
Android#ffa6729c

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

Recolor an SVG with this color

CSS

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