Skip to content
Vectorlight.net

#a70e8a

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

HEX
#a70e8a
RGB
167, 14, 138
HSL
311.37°, 84.53%, 35.49%
OKLCH
0.5 0.21 338.48
Names
—
Lists

Codes

FormatValue
HEX#a70e8a
RGBrgb(167 14 138)
HSLhsl(311.37 84.53% 35.49%)
OKLCHoklch(0.5 0.21 338.48)
CMYKcmyk(0% 91.62% 17.37% 34.51%)
Android#ffa70e8a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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