Skip to content
Vectorlight.net

#af8eb6

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

HEX
#af8eb6
RGB
175, 142, 182
HSL
289.5°, 21.51%, 63.53%
OKLCH
0.69 0.07 320.37
Names
—
Lists

Codes

FormatValue
HEX#af8eb6
RGBrgb(175 142 182)
HSLhsl(289.5 21.51% 63.53%)
OKLCHoklch(0.69 0.07 320.37)
CMYKcmyk(3.85% 21.98% 0% 28.63%)
Android#ffaf8eb6

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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