Skip to content
Vectorlight.net

#a1afcb

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

HEX
#a1afcb
RGB
161, 175, 203
HSL
220°, 28.77%, 71.37%
OKLCH
0.75 0.04 264.27
Names
—
Lists

Codes

FormatValue
HEX#a1afcb
RGBrgb(161 175 203)
HSLhsl(220 28.77% 71.37%)
OKLCHoklch(0.75 0.04 264.27)
CMYKcmyk(20.69% 13.79% 0% 20.39%)
Android#ffa1afcb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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