Skip to content
Vectorlight.net

#af488b

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

HEX
#af488b
RGB
175, 72, 139
HSL
320.97°, 41.7%, 48.43%
OKLCH
0.56 0.15 343.41
Names
—
Lists

Codes

FormatValue
HEX#af488b
RGBrgb(175 72 139)
HSLhsl(320.97 41.7% 48.43%)
OKLCHoklch(0.56 0.15 343.41)
CMYKcmyk(0% 58.86% 20.57% 31.37%)
Android#ffaf488b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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