Skip to content
Vectorlight.net

#af204e

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

HEX
#af204e
RGB
175, 32, 78
HSL
340.7°, 69.08%, 40.59%
OKLCH
0.5 0.18 8.49
Names
—
Lists

Codes

FormatValue
HEX#af204e
RGBrgb(175 32 78)
HSLhsl(340.7 69.08% 40.59%)
OKLCHoklch(0.5 0.18 8.49)
CMYKcmyk(0% 81.71% 55.43% 31.37%)
Android#ffaf204e

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
6.68: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="#af204e"
Gradient stop
<stop stop-color="#af204e"/>
CSS variable + fill
:root { --c: #af204e; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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