Skip to content
Vectorlight.net

#af402f

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

HEX
#af402f
RGB
175, 64, 47
HSL
7.97°, 57.66%, 43.53%
OKLCH
0.52 0.15 31.22
Names
—
Lists

Codes

FormatValue
HEX#af402f
RGBrgb(175 64 47)
HSLhsl(7.97 57.66% 43.53%)
OKLCHoklch(0.52 0.15 31.22)
CMYKcmyk(0% 63.43% 73.14% 31.37%)
Android#ffaf402f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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