Skip to content
Vectorlight.net

#af96bd

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

HEX
#af96bd
RGB
175, 150, 189
HSL
278.46°, 22.81%, 66.47%
OKLCH
0.71 0.06 313.38
Names
—
Lists

Codes

FormatValue
HEX#af96bd
RGBrgb(175 150 189)
HSLhsl(278.46 22.81% 66.47%)
OKLCHoklch(0.71 0.06 313.38)
CMYKcmyk(7.41% 20.63% 0% 25.88%)
Android#ffaf96bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
2.65:1
Fail AA normal text
Fail AA large text
On white #ffffff
Aa
7.92:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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

Recolor an SVG with this color

CSS

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