Skip to content
Vectorlight.net

#af6cb8

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

HEX
#af6cb8
RGB
175, 108, 184
HSL
292.89°, 34.86%, 57.25%
OKLCH
0.63 0.13 322.65
Names
—
Lists

Codes

FormatValue
HEX#af6cb8
RGBrgb(175 108 184)
HSLhsl(292.89 34.86% 57.25%)
OKLCHoklch(0.63 0.13 322.65)
CMYKcmyk(4.89% 41.3% 0% 27.84%)
Android#ffaf6cb8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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