Skip to content
Vectorlight.net

#af27ab

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

HEX
#af27ab
RGB
175, 39, 171
HSL
301.76°, 63.55%, 41.96%
OKLCH
0.54 0.22 329.42
Names
—
Lists

Codes

FormatValue
HEX#af27ab
RGBrgb(175 39 171)
HSLhsl(301.76 63.55% 41.96%)
OKLCHoklch(0.54 0.22 329.42)
CMYKcmyk(0% 77.71% 2.29% 31.37%)
Android#ffaf27ab

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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