Skip to content
Vectorlight.net

#a70451

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

HEX
#a70451
RGB
167, 4, 81
HSL
331.66°, 95.32%, 33.53%
OKLCH
0.47 0.19 2.93
Names
—
Lists

Codes

FormatValue
HEX#a70451
RGBrgb(167 4 81)
HSLhsl(331.66 95.32% 33.53%)
OKLCHoklch(0.47 0.19 2.93)
CMYKcmyk(0% 97.6% 51.5% 34.51%)
Android#ffa70451

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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