Skip to content
Vectorlight.net

#af458d

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

HEX
#af458d
RGB
175, 69, 141
HSL
319.25°, 43.44%, 47.84%
OKLCH
0.56 0.16 342.12
Names
—
Lists

Codes

FormatValue
HEX#af458d
RGBrgb(175 69 141)
HSLhsl(319.25 43.44% 47.84%)
OKLCHoklch(0.56 0.16 342.12)
CMYKcmyk(0% 60.57% 19.43% 31.37%)
Android#ffaf458d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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