Skip to content
Vectorlight.net

#af504f

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

HEX
#af504f
RGB
175, 80, 79
HSL
0.62°, 37.8%, 49.8%
OKLCH
0.55 0.12 22.62
Names
—
Lists

Codes

FormatValue
HEX#af504f
RGBrgb(175 80 79)
HSLhsl(0.62 37.8% 49.8%)
OKLCHoklch(0.55 0.12 22.62)
CMYKcmyk(0% 54.29% 54.86% 31.37%)
Android#ffaf504f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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