Skip to content
Vectorlight.net

#af191b

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

HEX
#af191b
RGB
175, 25, 27
HSL
359.2°, 75%, 39.22%
OKLCH
0.48 0.18 27.12
Names
—
Lists

Codes

FormatValue
HEX#af191b
RGBrgb(175 25 27)
HSLhsl(359.2 75% 39.22%)
OKLCHoklch(0.48 0.18 27.12)
CMYKcmyk(0% 85.71% 84.57% 31.37%)
Android#ffaf191b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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