Skip to content
Vectorlight.net

#af368f

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

HEX
#af368f
RGB
175, 54, 143
HSL
315.87°, 52.84%, 44.9%
OKLCH
0.54 0.18 340.18
Names
—
Lists

Codes

FormatValue
HEX#af368f
RGBrgb(175 54 143)
HSLhsl(315.87 52.84% 44.9%)
OKLCHoklch(0.54 0.18 340.18)
CMYKcmyk(0% 69.14% 18.29% 31.37%)
Android#ffaf368f

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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