Skip to content
Vectorlight.net

#ffaef8

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

HEX
#ffaef8
RGB
255, 174, 248
HSL
305.19°, 100%, 84.12%
OKLCH
0.85 0.13 329.69
Names
—
Lists

Codes

FormatValue
HEX#ffaef8
RGBrgb(255 174 248)
HSLhsl(305.19 100% 84.12%)
OKLCHoklch(0.85 0.13 329.69)
CMYKcmyk(0% 31.76% 2.75% 0%)
Android#ffffaef8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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