Skip to content
Vectorlight.net

#a5072a

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

HEX
#a5072a
RGB
165, 7, 42
HSL
346.71°, 91.86%, 33.73%
OKLCH
0.46 0.18 19.91
Names
—
Lists

Codes

FormatValue
HEX#a5072a
RGBrgb(165 7 42)
HSLhsl(346.71 91.86% 33.73%)
OKLCHoklch(0.46 0.18 19.91)
CMYKcmyk(0% 95.76% 74.55% 35.29%)
Android#ffa5072a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
7.88: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="#a5072a"
Gradient stop
<stop stop-color="#a5072a"/>
CSS variable + fill
:root { --c: #a5072a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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