Skip to content
Vectorlight.net

#af173e

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

HEX
#af173e
RGB
175, 23, 62
HSL
344.61°, 76.77%, 38.82%
OKLCH
0.49 0.18 14.6
Names
—
Lists

Codes

FormatValue
HEX#af173e
RGBrgb(175 23 62)
HSLhsl(344.61 76.77% 38.82%)
OKLCHoklch(0.49 0.18 14.6)
CMYKcmyk(0% 86.86% 64.57% 31.37%)
Android#ffaf173e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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