Skip to content
Vectorlight.net

#af211b

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

HEX
#af211b
RGB
175, 33, 27
HSL
2.43°, 73.27%, 39.61%
OKLCH
0.49 0.18 28.45
Names
—
Lists

Codes

FormatValue
HEX#af211b
RGBrgb(175 33 27)
HSLhsl(2.43 73.27% 39.61%)
OKLCHoklch(0.49 0.18 28.45)
CMYKcmyk(0% 81.14% 84.57% 31.37%)
Android#ffaf211b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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