Skip to content
Vectorlight.net

#af2b4c

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

HEX
#af2b4c
RGB
175, 43, 76
HSL
345°, 60.55%, 42.75%
OKLCH
0.51 0.17 11.34
Names
—
Lists

Codes

FormatValue
HEX#af2b4c
RGBrgb(175 43 76)
HSLhsl(345 60.55% 42.75%)
OKLCHoklch(0.51 0.17 11.34)
CMYKcmyk(0% 75.43% 56.57% 31.37%)
Android#ffaf2b4c

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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