Skip to content
Vectorlight.net

#a5202d

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

HEX
#a5202d
RGB
165, 32, 45
HSL
354.14°, 67.51%, 38.63%
OKLCH
0.47 0.17 21.98
Names
—
Lists

Codes

FormatValue
HEX#a5202d
RGBrgb(165 32 45)
HSLhsl(354.14 67.51% 38.63%)
OKLCHoklch(0.47 0.17 21.98)
CMYKcmyk(0% 80.61% 72.73% 35.29%)
Android#ffa5202d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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