Skip to content
Vectorlight.net

#a72a7e

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

HEX
#a72a7e
RGB
167, 42, 126
HSL
319.68°, 59.81%, 40.98%
OKLCH
0.51 0.18 344.32
Names
—
Lists

Codes

FormatValue
HEX#a72a7e
RGBrgb(167 42 126)
HSLhsl(319.68 59.81% 40.98%)
OKLCHoklch(0.51 0.18 344.32)
CMYKcmyk(0% 74.85% 24.55% 34.51%)
Android#ffa72a7e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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