Skip to content
Vectorlight.net

#a5201a

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

HEX
#a5201a
RGB
165, 32, 26
HSL
2.59°, 72.77%, 37.45%
OKLCH
0.47 0.17 28.44
Names
—
Lists

Codes

FormatValue
HEX#a5201a
RGBrgb(165 32 26)
HSLhsl(2.59 72.77% 37.45%)
OKLCHoklch(0.47 0.17 28.44)
CMYKcmyk(0% 80.61% 84.24% 35.29%)
Android#ffa5201a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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