Skip to content
Vectorlight.net

#af204d

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

HEX
#af204d
RGB
175, 32, 77
HSL
341.12°, 69.08%, 40.59%
OKLCH
0.5 0.18 8.97
Names
—
Lists

Codes

FormatValue
HEX#af204d
RGBrgb(175 32 77)
HSLhsl(341.12 69.08% 40.59%)
OKLCHoklch(0.5 0.18 8.97)
CMYKcmyk(0% 81.71% 56% 31.37%)
Android#ffaf204d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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