Skip to content
Vectorlight.net

#af382c

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

HEX
#af382c
RGB
175, 56, 44
HSL
5.5°, 59.82%, 42.94%
OKLCH
0.51 0.16 29.3
Names
—
Lists

Codes

FormatValue
HEX#af382c
RGBrgb(175 56 44)
HSLhsl(5.5 59.82% 42.94%)
OKLCHoklch(0.51 0.16 29.3)
CMYKcmyk(0% 68% 74.86% 31.37%)
Android#ffaf382c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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