Skip to content
Vectorlight.net

#fef2ef

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

HEX
#fef2ef
RGB
254, 242, 239
HSL
12°, 88.24%, 96.67%
OKLCH
0.97 0.01 34.3
Names
—
Lists

Codes

FormatValue
HEX#fef2ef
RGBrgb(254 242 239)
HSLhsl(12 88.24% 96.67%)
OKLCHoklch(0.97 0.01 34.3)
CMYKcmyk(0% 4.72% 5.91% 0.39%)
Android#fffef2ef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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