Skip to content
Vectorlight.net

#af0797

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

HEX
#af0797
RGB
175, 7, 151
HSL
308.57°, 92.31%, 35.69%
OKLCH
0.52 0.23 336.18
Names
—
Lists

Codes

FormatValue
HEX#af0797
RGBrgb(175 7 151)
HSLhsl(308.57 92.31% 35.69%)
OKLCHoklch(0.52 0.23 336.18)
CMYKcmyk(0% 96% 13.71% 31.37%)
Android#ffaf0797

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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