Skip to content
Vectorlight.net

#af2940

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

HEX
#af2940
RGB
175, 41, 64
HSL
349.7°, 62.04%, 42.35%
OKLCH
0.5 0.17 16.65
Names
—
Lists

Codes

FormatValue
HEX#af2940
RGBrgb(175 41 64)
HSLhsl(349.7 62.04% 42.35%)
OKLCHoklch(0.5 0.17 16.65)
CMYKcmyk(0% 76.57% 63.43% 31.37%)
Android#ffaf2940

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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