Skip to content
Vectorlight.net

#af196b

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

HEX
#af196b
RGB
175, 25, 107
HSL
327.2°, 75%, 39.22%
OKLCH
0.5 0.19 354.2
Names
—
Lists

Codes

FormatValue
HEX#af196b
RGBrgb(175 25 107)
HSLhsl(327.2 75% 39.22%)
OKLCHoklch(0.5 0.19 354.2)
CMYKcmyk(0% 85.71% 38.86% 31.37%)
Android#ffaf196b

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.61: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="#af196b"
Gradient stop
<stop stop-color="#af196b"/>
CSS variable + fill
:root { --c: #af196b; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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