Skip to content
Vectorlight.net

#af50bd

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

HEX
#af50bd
RGB
175, 80, 189
HSL
292.29°, 45.23%, 52.75%
OKLCH
0.59 0.18 322.35
Names
—
Lists

Codes

FormatValue
HEX#af50bd
RGBrgb(175 80 189)
HSLhsl(292.29 45.23% 52.75%)
OKLCHoklch(0.59 0.18 322.35)
CMYKcmyk(7.41% 57.67% 0% 25.88%)
Android#ffaf50bd

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

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

Recolor an SVG with this color

CSS

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