Skip to content
Vectorlight.net

#ffa0dc

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

HEX
#ffa0dc
RGB
255, 160, 220
HSL
322.11°, 100%, 81.37%
OKLCH
0.82 0.13 342.06
Names
—
Lists

Codes

FormatValue
HEX#ffa0dc
RGBrgb(255 160 220)
HSLhsl(322.11 100% 81.37%)
OKLCHoklch(0.82 0.13 342.06)
CMYKcmyk(0% 37.25% 13.73% 0%)
Android#ffffa0dc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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