Skip to content
Vectorlight.net

#af236f

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

HEX
#af236f
RGB
175, 35, 111
HSL
327.43°, 66.67%, 41.18%
OKLCH
0.51 0.19 353.14
Names
—
Lists

Codes

FormatValue
HEX#af236f
RGBrgb(175 35 111)
HSLhsl(327.43 66.67% 41.18%)
OKLCHoklch(0.51 0.19 353.14)
CMYKcmyk(0% 80% 36.57% 31.37%)
Android#ffaf236f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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