Skip to content
Vectorlight.net

#af512d

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

HEX
#af512d
RGB
175, 81, 45
HSL
16.62°, 59.09%, 43.14%
OKLCH
0.55 0.13 40.61
Names
—
Lists

Codes

FormatValue
HEX#af512d
RGBrgb(175 81 45)
HSLhsl(16.62 59.09% 43.14%)
OKLCHoklch(0.55 0.13 40.61)
CMYKcmyk(0% 53.71% 74.29% 31.37%)
Android#ffaf512d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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