Skip to content
Vectorlight.net

#a6548e

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

HEX
#a6548e
RGB
166, 84, 142
HSL
317.56°, 32.8%, 49.02%
OKLCH
0.56 0.13 339.51
Names
—
Lists

Codes

FormatValue
HEX#a6548e
RGBrgb(166 84 142)
HSLhsl(317.56 32.8% 49.02%)
OKLCHoklch(0.56 0.13 339.51)
CMYKcmyk(0% 49.4% 14.46% 34.9%)
Android#ffa6548e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
4.90:1
Pass AA normal text
Pass AA large text
On white #ffffff
Aa
4.28:1
Fail AA normal text
Pass AA large text
On black #000000 · Best text #ffffff

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

Recolor an SVG with this color

CSS

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