Skip to content
Vectorlight.net

#af115d

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

HEX
#af115d
RGB
175, 17, 93
HSL
331.14°, 82.29%, 37.65%
OKLCH
0.49 0.19 0.04
Names
—
Lists

Codes

FormatValue
HEX#af115d
RGBrgb(175 17 93)
HSLhsl(331.14 82.29% 37.65%)
OKLCHoklch(0.49 0.19 0.04)
CMYKcmyk(0% 90.29% 46.86% 31.37%)
Android#ffaf115d

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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