Skip to content
Vectorlight.net

#af548b

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

HEX
#af548b
RGB
175, 84, 139
HSL
323.74°, 36.25%, 50.78%
OKLCH
0.58 0.14 344.99
Names
—
Lists

Codes

FormatValue
HEX#af548b
RGBrgb(175 84 139)
HSLhsl(323.74 36.25% 50.78%)
OKLCHoklch(0.58 0.14 344.99)
CMYKcmyk(0% 52% 20.57% 31.37%)
Android#ffaf548b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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