Skip to content
Vectorlight.net

#af0c2e

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

HEX
#af0c2e
RGB
175, 12, 46
HSL
347.48°, 87.17%, 36.67%
OKLCH
0.48 0.19 19.89
Names
—
Lists

Codes

FormatValue
HEX#af0c2e
RGBrgb(175 12 46)
HSLhsl(347.48 87.17% 36.67%)
OKLCHoklch(0.48 0.19 19.89)
CMYKcmyk(0% 93.14% 73.71% 31.37%)
Android#ffaf0c2e

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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