Skip to content
Vectorlight.net

#a8478a

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

HEX
#a8478a
RGB
168, 71, 138
HSL
318.56°, 40.59%, 46.86%
OKLCH
0.55 0.15 341.19
Names
—
Lists

Codes

FormatValue
HEX#a8478a
RGBrgb(168 71 138)
HSLhsl(318.56 40.59% 46.86%)
OKLCHoklch(0.55 0.15 341.19)
CMYKcmyk(0% 57.74% 17.86% 34.12%)
Android#ffa8478a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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