Skip to content
Vectorlight.net

#af030b

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

HEX
#af030b
RGB
175, 3, 11
HSL
357.21°, 96.63%, 34.9%
OKLCH
0.47 0.19 28.05
Names
—
Lists

Codes

FormatValue
HEX#af030b
RGBrgb(175 3 11)
HSLhsl(357.21 96.63% 34.9%)
OKLCHoklch(0.47 0.19 28.05)
CMYKcmyk(0% 98.29% 93.71% 31.37%)
Android#ffaf030b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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