Skip to content
Vectorlight.net

#af0584

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

HEX
#af0584
RGB
175, 5, 132
HSL
315.18°, 94.44%, 35.29%
OKLCH
0.51 0.21 343.13
Names
—
Lists

Codes

FormatValue
HEX#af0584
RGBrgb(175 5 132)
HSLhsl(315.18 94.44% 35.29%)
OKLCHoklch(0.51 0.21 343.13)
CMYKcmyk(0% 97.14% 24.57% 31.37%)
Android#ffaf0584

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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