Skip to content
Vectorlight.net

#af412f

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

HEX
#af412f
RGB
175, 65, 47
HSL
8.44°, 57.66%, 43.53%
OKLCH
0.52 0.15 31.65
Names
—
Lists

Codes

FormatValue
HEX#af412f
RGBrgb(175 65 47)
HSLhsl(8.44 57.66% 43.53%)
OKLCHoklch(0.52 0.15 31.65)
CMYKcmyk(0% 62.86% 73.14% 31.37%)
Android#ffaf412f

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="#af412f"
Gradient stop
<stop stop-color="#af412f"/>
CSS variable + fill
:root { --c: #af412f; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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