Skip to content
Vectorlight.net

#af799b

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

HEX
#af799b
RGB
175, 121, 155
HSL
322.22°, 25.23%, 58.04%
OKLCH
0.64 0.08 341.44
Names
—
Lists

Codes

FormatValue
HEX#af799b
RGBrgb(175 121 155)
HSLhsl(322.22 25.23% 58.04%)
OKLCHoklch(0.64 0.08 341.44)
CMYKcmyk(0% 30.86% 11.43% 31.37%)
Android#ffaf799b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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