Skip to content
Vectorlight.net

#af2793

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

HEX
#af2793
RGB
175, 39, 147
HSL
312.35°, 63.55%, 41.96%
OKLCH
0.53 0.2 338.02
Names
—
Lists

Codes

FormatValue
HEX#af2793
RGBrgb(175 39 147)
HSLhsl(312.35 63.55% 41.96%)
OKLCHoklch(0.53 0.2 338.02)
CMYKcmyk(0% 77.71% 16% 31.37%)
Android#ffaf2793

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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