Skip to content
Vectorlight.net

#af06ba

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

HEX
#af06ba
RGB
175, 6, 186
HSL
296.33°, 93.75%, 37.65%
OKLCH
0.54 0.25 325.08
Names
—
Lists

Codes

FormatValue
HEX#af06ba
RGBrgb(175 6 186)
HSLhsl(296.33 93.75% 37.65%)
OKLCHoklch(0.54 0.25 325.08)
CMYKcmyk(5.91% 96.77% 0% 27.06%)
Android#ffaf06ba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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