Skip to content
Vectorlight.net

#af115f

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

HEX
#af115f
RGB
175, 17, 95
HSL
330.38°, 82.29%, 37.65%
OKLCH
0.49 0.19 359.13
Names
—
Lists

Codes

FormatValue
HEX#af115f
RGBrgb(175 17 95)
HSLhsl(330.38 82.29% 37.65%)
OKLCHoklch(0.49 0.19 359.13)
CMYKcmyk(0% 90.29% 45.71% 31.37%)
Android#ffaf115f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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