Skip to content
Vectorlight.net

#af382d

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

HEX
#af382d
RGB
175, 56, 45
HSL
5.08°, 59.09%, 43.14%
OKLCH
0.51 0.16 28.93
Names
—
Lists

Codes

FormatValue
HEX#af382d
RGBrgb(175 56 45)
HSLhsl(5.08 59.09% 43.14%)
OKLCHoklch(0.51 0.16 28.93)
CMYKcmyk(0% 68% 74.29% 31.37%)
Android#ffaf382d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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