Skip to content
Vectorlight.net

#af998f

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

HEX
#af998f
RGB
175, 153, 143
HSL
18.75°, 16.67%, 62.35%
OKLCH
0.7 0.03 45.96
Names
—
Lists

Codes

FormatValue
HEX#af998f
RGBrgb(175 153 143)
HSLhsl(18.75 16.67% 62.35%)
OKLCHoklch(0.7 0.03 45.96)
CMYKcmyk(0% 12.57% 18.29% 31.37%)
Android#ffaf998f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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