Skip to content
Vectorlight.net

#a2152c

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

HEX
#a2152c
RGB
162, 21, 44
HSL
350.21°, 77.05%, 35.88%
OKLCH
0.46 0.17 20.23
Names
—
Lists

Codes

FormatValue
HEX#a2152c
RGBrgb(162 21 44)
HSLhsl(350.21 77.05% 35.88%)
OKLCHoklch(0.46 0.17 20.23)
CMYKcmyk(0% 87.04% 72.84% 36.47%)
Android#ffa2152c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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