Skip to content
Vectorlight.net

#a7397a

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

HEX
#a7397a
RGB
167, 57, 122
HSL
324.55°, 49.11%, 43.92%
OKLCH
0.52 0.16 347.6
Names
—
Lists

Codes

FormatValue
HEX#a7397a
RGBrgb(167 57 122)
HSLhsl(324.55 49.11% 43.92%)
OKLCHoklch(0.52 0.16 347.6)
CMYKcmyk(0% 65.87% 26.95% 34.51%)
Android#ffa7397a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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