Skip to content
Vectorlight.net

#a1308d

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

HEX
#a1308d
RGB
161, 48, 141
HSL
310.62°, 54.07%, 40.98%
OKLCH
0.51 0.18 335.86
Names
—
Lists

Codes

FormatValue
HEX#a1308d
RGBrgb(161 48 141)
HSLhsl(310.62 54.07% 40.98%)
OKLCHoklch(0.51 0.18 335.86)
CMYKcmyk(0% 70.19% 12.42% 36.86%)
Android#ffa1308d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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