Skip to content
Vectorlight.net

#af240d

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

HEX
#af240d
RGB
175, 36, 13
HSL
8.52°, 86.17%, 36.86%
OKLCH
0.49 0.18 31.79
Names
—
Lists

Codes

FormatValue
HEX#af240d
RGBrgb(175 36 13)
HSLhsl(8.52 86.17% 36.86%)
OKLCHoklch(0.49 0.18 31.79)
CMYKcmyk(0% 79.43% 92.57% 31.37%)
Android#ffaf240d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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