Skip to content
Vectorlight.net

#af2e2a

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

HEX
#af2e2a
RGB
175, 46, 42
HSL
1.8°, 61.29%, 42.55%
OKLCH
0.5 0.17 26.93
Names
—
Lists

Codes

FormatValue
HEX#af2e2a
RGBrgb(175 46 42)
HSLhsl(1.8 61.29% 42.55%)
OKLCHoklch(0.5 0.17 26.93)
CMYKcmyk(0% 73.71% 76% 31.37%)
Android#ffaf2e2a

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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