Skip to content
Vectorlight.net

#af191f

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

HEX
#af191f
RGB
175, 25, 31
HSL
357.6°, 75%, 39.22%
OKLCH
0.48 0.18 26.08
Names
—
Lists

Codes

FormatValue
HEX#af191f
RGBrgb(175 25 31)
HSLhsl(357.6 75% 39.22%)
OKLCHoklch(0.48 0.18 26.08)
CMYKcmyk(0% 85.71% 82.29% 31.37%)
Android#ffaf191f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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