Skip to content
Vectorlight.net

#a5396d

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

HEX
#a5396d
RGB
165, 57, 109
HSL
331.11°, 48.65%, 43.53%
OKLCH
0.51 0.15 353.97
Names
—
Lists

Codes

FormatValue
HEX#a5396d
RGBrgb(165 57 109)
HSLhsl(331.11 48.65% 43.53%)
OKLCHoklch(0.51 0.15 353.97)
CMYKcmyk(0% 65.45% 33.94% 35.29%)
Android#ffa5396d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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