Skip to content
Vectorlight.net

#ffeafb

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

HEX
#ffeafb
RGB
255, 234, 251
HSL
311.43°, 100%, 95.88%
OKLCH
0.96 0.03 332.13
Names
—
Lists

Codes

FormatValue
HEX#ffeafb
RGBrgb(255 234 251)
HSLhsl(311.43 100% 95.88%)
OKLCHoklch(0.96 0.03 332.13)
CMYKcmyk(0% 8.24% 1.57% 0%)
Android#ffffeafb

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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