Skip to content
Vectorlight.net

#af374b

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

HEX
#af374b
RGB
175, 55, 75
HSL
350°, 52.17%, 45.1%
OKLCH
0.52 0.16 14.79
Names
—
Lists

Codes

FormatValue
HEX#af374b
RGBrgb(175 55 75)
HSLhsl(350 52.17% 45.1%)
OKLCHoklch(0.52 0.16 14.79)
CMYKcmyk(0% 68.57% 57.14% 31.37%)
Android#ffaf374b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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