Skip to content
Vectorlight.net

#fffef8

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

HEX
#fffef8
RGB
255, 254, 248
HSL
51.43°, 100%, 98.63%
OKLCH
1 0.01 98.87
Names
—
Lists

Codes

FormatValue
HEX#fffef8
RGBrgb(255 254 248)
HSLhsl(51.43 100% 98.63%)
OKLCHoklch(1 0.01 98.87)
CMYKcmyk(0% 0.39% 2.75% 0%)
Android#fffffef8

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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