Skip to content
Vectorlight.net

#af421b

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

HEX
#af421b
RGB
175, 66, 27
HSL
15.81°, 73.27%, 39.61%
OKLCH
0.52 0.15 38.54
Names
—
Lists

Codes

FormatValue
HEX#af421b
RGBrgb(175 66 27)
HSLhsl(15.81 73.27% 39.61%)
OKLCHoklch(0.52 0.15 38.54)
CMYKcmyk(0% 62.29% 84.57% 31.37%)
Android#ffaf421b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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