Skip to content
Vectorlight.net

#a1308a

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

HEX
#a1308a
RGB
161, 48, 138
HSL
312.21°, 54.07%, 40.98%
OKLCH
0.51 0.18 337.15
Names
—
Lists

Codes

FormatValue
HEX#a1308a
RGBrgb(161 48 138)
HSLhsl(312.21 54.07% 40.98%)
OKLCHoklch(0.51 0.18 337.15)
CMYKcmyk(0% 70.19% 14.29% 36.86%)
Android#ffa1308a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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