Skip to content
Vectorlight.net

#a6788f

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

HEX
#a6788f
RGB
166, 120, 143
HSL
330°, 20.54%, 56.08%
OKLCH
0.63 0.07 347.7
Names
—
Lists

Codes

FormatValue
HEX#a6788f
RGBrgb(166 120 143)
HSLhsl(330 20.54% 56.08%)
OKLCHoklch(0.63 0.07 347.7)
CMYKcmyk(0% 27.71% 13.86% 34.9%)
Android#ffa6788f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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