Skip to content
Vectorlight.net

#af366d

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

HEX
#af366d
RGB
175, 54, 109
HSL
332.73°, 52.84%, 44.9%
OKLCH
0.53 0.16 356.42
Names
—
Lists

Codes

FormatValue
HEX#af366d
RGBrgb(175 54 109)
HSLhsl(332.73 52.84% 44.9%)
OKLCHoklch(0.53 0.16 356.42)
CMYKcmyk(0% 69.14% 37.71% 31.37%)
Android#ffaf366d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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