Skip to content
Vectorlight.net

#af277e

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

HEX
#af277e
RGB
175, 39, 126
HSL
321.62°, 63.55%, 41.96%
OKLCH
0.52 0.19 346.68
Names
—
Lists

Codes

FormatValue
HEX#af277e
RGBrgb(175 39 126)
HSLhsl(321.62 63.55% 41.96%)
OKLCHoklch(0.52 0.19 346.68)
CMYKcmyk(0% 77.71% 28% 31.37%)
Android#ffaf277e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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