Skip to content
Vectorlight.net

#af313d

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

HEX
#af313d
RGB
175, 49, 61
HSL
354.29°, 56.25%, 43.92%
OKLCH
0.51 0.16 19.97
Names
—
Lists

Codes

FormatValue
HEX#af313d
RGBrgb(175 49 61)
HSLhsl(354.29 56.25% 43.92%)
OKLCHoklch(0.51 0.16 19.97)
CMYKcmyk(0% 72% 65.14% 31.37%)
Android#ffaf313d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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