Skip to content
Vectorlight.net

#afb8db

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

HEX
#afb8db
RGB
175, 184, 219
HSL
227.73°, 37.93%, 77.25%
OKLCH
0.79 0.05 273.85
Names
—
Lists

Codes

FormatValue
HEX#afb8db
RGBrgb(175 184 219)
HSLhsl(227.73 37.93% 77.25%)
OKLCHoklch(0.79 0.05 273.85)
CMYKcmyk(20.09% 15.98% 0% 14.12%)
Android#ffafb8db

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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