Skip to content
Vectorlight.net

#af0882

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

HEX
#af0882
RGB
175, 8, 130
HSL
316.17°, 91.26%, 35.88%
OKLCH
0.51 0.21 343.95
Names
—
Lists

Codes

FormatValue
HEX#af0882
RGBrgb(175 8 130)
HSLhsl(316.17 91.26% 35.88%)
OKLCHoklch(0.51 0.21 343.95)
CMYKcmyk(0% 95.43% 25.71% 31.37%)
Android#ffaf0882

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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