Skip to content
Vectorlight.net

#af288d

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

HEX
#af288d
RGB
175, 40, 141
HSL
315.11°, 62.79%, 42.16%
OKLCH
0.53 0.2 340.42
Names
—
Lists

Codes

FormatValue
HEX#af288d
RGBrgb(175 40 141)
HSLhsl(315.11 62.79% 42.16%)
OKLCHoklch(0.53 0.2 340.42)
CMYKcmyk(0% 77.14% 19.43% 31.37%)
Android#ffaf288d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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