Skip to content
Vectorlight.net

#a0318c

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

HEX
#a0318c
RGB
160, 49, 140
HSL
310.81°, 53.11%, 40.98%
OKLCH
0.51 0.18 335.94
Names
—
Lists

Codes

FormatValue
HEX#a0318c
RGBrgb(160 49 140)
HSLhsl(310.81 53.11% 40.98%)
OKLCHoklch(0.51 0.18 335.94)
CMYKcmyk(0% 69.38% 12.5% 37.25%)
Android#ffa0318c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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