Skip to content
Vectorlight.net

#ffaafe

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

HEX
#ffaafe
RGB
255, 170, 254
HSL
300.71°, 100%, 83.33%
OKLCH
0.85 0.15 327.16
Names
—
Lists

Codes

FormatValue
HEX#ffaafe
RGBrgb(255 170 254)
HSLhsl(300.71 100% 83.33%)
OKLCHoklch(0.85 0.15 327.16)
CMYKcmyk(0% 33.33% 0.39% 0%)
Android#ffffaafe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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