Skip to content
Vectorlight.net

#af897b

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

HEX
#af897b
RGB
175, 137, 123
HSL
16.15°, 24.53%, 58.43%
OKLCH
0.66 0.05 41.17
Names
—
Lists

Codes

FormatValue
HEX#af897b
RGBrgb(175 137 123)
HSLhsl(16.15 24.53% 58.43%)
OKLCHoklch(0.66 0.05 41.17)
CMYKcmyk(0% 21.71% 29.71% 31.37%)
Android#ffaf897b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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