Skip to content
Vectorlight.net

#a7397e

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

HEX
#a7397e
RGB
167, 57, 126
HSL
322.36°, 49.11%, 43.92%
OKLCH
0.52 0.16 345.55
Names
—
Lists

Codes

FormatValue
HEX#a7397e
RGBrgb(167 57 126)
HSLhsl(322.36 49.11% 43.92%)
OKLCHoklch(0.52 0.16 345.55)
CMYKcmyk(0% 65.87% 24.55% 34.51%)
Android#ffa7397e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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