Skip to content
Vectorlight.net

#a21346

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

HEX
#a21346
RGB
162, 19, 70
HSL
338.6°, 79.01%, 35.49%
OKLCH
0.46 0.17 8.09
Names
—
Lists

Codes

FormatValue
HEX#a21346
RGBrgb(162 19 70)
HSLhsl(338.6 79.01% 35.49%)
OKLCHoklch(0.46 0.17 8.09)
CMYKcmyk(0% 88.27% 56.79% 36.47%)
Android#ffa21346

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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