Skip to content
Vectorlight.net

#a5396b

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

HEX
#a5396b
RGB
165, 57, 107
HSL
332.22°, 48.65%, 43.53%
OKLCH
0.51 0.15 355.1
Names
—
Lists

Codes

FormatValue
HEX#a5396b
RGBrgb(165 57 107)
HSLhsl(332.22 48.65% 43.53%)
OKLCHoklch(0.51 0.15 355.1)
CMYKcmyk(0% 65.45% 35.15% 35.29%)
Android#ffa5396b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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