Skip to content
Vectorlight.net

#ffaefe

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

HEX
#ffaefe
RGB
255, 174, 254
HSL
300.74°, 100%, 84.12%
OKLCH
0.85 0.14 327.12
Names
—
Lists

Codes

FormatValue
HEX#ffaefe
RGBrgb(255 174 254)
HSLhsl(300.74 100% 84.12%)
OKLCHoklch(0.85 0.14 327.12)
CMYKcmyk(0% 31.76% 0.39% 0%)
Android#ffffaefe

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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