Skip to content
Vectorlight.net

#af031b

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

HEX
#af031b
RGB
175, 3, 27
HSL
351.63°, 96.63%, 34.9%
OKLCH
0.48 0.19 25.04
Names
—
Lists

Codes

FormatValue
HEX#af031b
RGBrgb(175 3 27)
HSLhsl(351.63 96.63% 34.9%)
OKLCHoklch(0.48 0.19 25.04)
CMYKcmyk(0% 98.29% 84.57% 31.37%)
Android#ffaf031b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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