Skip to content
Vectorlight.net

#ffa2dc

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

HEX
#ffa2dc
RGB
255, 162, 220
HSL
322.58°, 100%, 81.76%
OKLCH
0.82 0.13 342.37
Names
—
Lists

Codes

FormatValue
HEX#ffa2dc
RGBrgb(255 162 220)
HSLhsl(322.58 100% 81.76%)
OKLCHoklch(0.82 0.13 342.37)
CMYKcmyk(0% 36.47% 13.73% 0%)
Android#ffffa2dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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