Skip to content
Vectorlight.net

#af276c

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

HEX
#af276c
RGB
175, 39, 108
HSL
329.56°, 63.55%, 41.96%
OKLCH
0.51 0.18 354.92
Names
—
Lists

Codes

FormatValue
HEX#af276c
RGBrgb(175 39 108)
HSLhsl(329.56 63.55% 41.96%)
OKLCHoklch(0.51 0.18 354.92)
CMYKcmyk(0% 77.71% 38.29% 31.37%)
Android#ffaf276c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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