Skip to content
Vectorlight.net

#af161c

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

HEX
#af161c
RGB
175, 22, 28
HSL
357.65°, 77.66%, 38.63%
OKLCH
0.48 0.18 26.46
Names
—
Lists

Codes

FormatValue
HEX#af161c
RGBrgb(175 22 28)
HSLhsl(357.65 77.66% 38.63%)
OKLCHoklch(0.48 0.18 26.46)
CMYKcmyk(0% 87.43% 84% 31.37%)
Android#ffaf161c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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