Skip to content
Vectorlight.net

#a8147f

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

HEX
#a8147f
RGB
168, 20, 127
HSL
316.62°, 78.72%, 36.86%
OKLCH
0.5 0.2 343.26
Names
—
Lists

Codes

FormatValue
HEX#a8147f
RGBrgb(168 20 127)
HSLhsl(316.62 78.72% 36.86%)
OKLCHoklch(0.5 0.2 343.26)
CMYKcmyk(0% 88.1% 24.4% 34.12%)
Android#ffa8147f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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