Skip to content
Vectorlight.net

#a0318d

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

HEX
#a0318d
RGB
160, 49, 141
HSL
310.27°, 53.11%, 40.98%
OKLCH
0.51 0.18 335.51
Names
—
Lists

Codes

FormatValue
HEX#a0318d
RGBrgb(160 49 141)
HSLhsl(310.27 53.11% 40.98%)
OKLCHoklch(0.51 0.18 335.51)
CMYKcmyk(0% 69.38% 11.88% 37.25%)
Android#ffa0318d

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.32: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="#a0318d"
Gradient stop
<stop stop-color="#a0318d"/>
CSS variable + fill
:root { --c: #a0318d; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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