Skip to content
Vectorlight.net

#af2bba

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

HEX
#af2bba
RGB
175, 43, 186
HSL
295.38°, 62.45%, 44.9%
OKLCH
0.55 0.23 324.59
Names
—
Lists

Codes

FormatValue
HEX#af2bba
RGBrgb(175 43 186)
HSLhsl(295.38 62.45% 44.9%)
OKLCHoklch(0.55 0.23 324.59)
CMYKcmyk(5.91% 76.88% 0% 27.06%)
Android#ffaf2bba

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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