Skip to content
Vectorlight.net

#af798a

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

HEX
#af798a
RGB
175, 121, 138
HSL
341.11°, 25.23%, 58.04%
OKLCH
0.64 0.07 358.79
Names
—
Lists

Codes

FormatValue
HEX#af798a
RGBrgb(175 121 138)
HSLhsl(341.11 25.23% 58.04%)
OKLCHoklch(0.64 0.07 358.79)
CMYKcmyk(0% 30.86% 21.14% 31.37%)
Android#ffaf798a

Names & lists

Web-safe: No

Tailwind: No

Contrast

Aa
3.54:1
Fail AA normal text
Pass AA large text
On white #ffffff
Aa
5.92:1
Pass AA normal text
Pass AA large text
On black #000000 · Best text #000000

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="#af798a"
Gradient stop
<stop stop-color="#af798a"/>
CSS variable + fill
:root { --c: #af798a; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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