Skip to content
Vectorlight.net

#a0218e

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

HEX
#a0218e
RGB
160, 33, 142
HSL
308.5°, 65.8%, 37.84%
OKLCH
0.5 0.2 334.82
Names
—
Lists

Codes

FormatValue
HEX#a0218e
RGBrgb(160 33 142)
HSLhsl(308.5 65.8% 37.84%)
OKLCHoklch(0.5 0.2 334.82)
CMYKcmyk(0% 79.38% 11.25% 37.25%)
Android#ffa0218e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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