Skip to content
Vectorlight.net

#a30172

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

HEX
#a30172
RGB
163, 1, 114
HSL
318.15°, 98.78%, 32.16%
OKLCH
0.48 0.2 346.72
Names
—
Lists

Codes

FormatValue
HEX#a30172
RGBrgb(163 1 114)
HSLhsl(318.15 98.78% 32.16%)
OKLCHoklch(0.48 0.2 346.72)
CMYKcmyk(0% 99.39% 30.06% 36.08%)
Android#ffa30172

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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