Skip to content
Vectorlight.net

#af045b

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

HEX
#af045b
RGB
175, 4, 91
HSL
329.47°, 95.53%, 35.1%
OKLCH
0.49 0.2 0.32
Names
—
Lists

Codes

FormatValue
HEX#af045b
RGBrgb(175 4 91)
HSLhsl(329.47 95.53% 35.1%)
OKLCHoklch(0.49 0.2 0.32)
CMYKcmyk(0% 97.71% 48% 31.37%)
Android#ffaf045b

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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