Skip to content
Vectorlight.net

#ffeafc

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

HEX
#ffeafc
RGB
255, 234, 252
HSL
308.57°, 100%, 95.88%
OKLCH
0.96 0.03 330.43
Names
—
Lists

Codes

FormatValue
HEX#ffeafc
RGBrgb(255 234 252)
HSLhsl(308.57 100% 95.88%)
OKLCHoklch(0.96 0.03 330.43)
CMYKcmyk(0% 8.24% 1.18% 0%)
Android#ffffeafc

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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