Skip to content
Vectorlight.net

#a1018a

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

HEX
#a1018a
RGB
161, 1, 138
HSL
308.63°, 98.77%, 31.76%
OKLCH
0.48 0.21 336.44
Names
—
Lists

Codes

FormatValue
HEX#a1018a
RGBrgb(161 1 138)
HSLhsl(308.63 98.77% 31.76%)
OKLCHoklch(0.48 0.21 336.44)
CMYKcmyk(0% 99.38% 14.29% 36.86%)
Android#ffa1018a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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