Skip to content
Vectorlight.net

#a20947

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

HEX
#a20947
RGB
162, 9, 71
HSL
335.69°, 89.47%, 33.53%
OKLCH
0.46 0.18 6.8
Names
—
Lists

Codes

FormatValue
HEX#a20947
RGBrgb(162 9 71)
HSLhsl(335.69 89.47% 33.53%)
OKLCHoklch(0.46 0.18 6.8)
CMYKcmyk(0% 94.44% 56.17% 36.47%)
Android#ffa20947

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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