Skip to content
Vectorlight.net

#af7798

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

HEX
#af7798
RGB
175, 119, 152
HSL
324.64°, 25.93%, 57.65%
OKLCH
0.64 0.08 343.53
Names
—
Lists

Codes

FormatValue
HEX#af7798
RGBrgb(175 119 152)
HSLhsl(324.64 25.93% 57.65%)
OKLCHoklch(0.64 0.08 343.53)
CMYKcmyk(0% 32% 13.14% 31.37%)
Android#ffaf7798

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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