Skip to content
Vectorlight.net

#fff8fa

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

HEX
#fff8fa
RGB
255, 248, 250
HSL
342.86°, 100%, 98.63%
OKLCH
0.99 0.01 357.79
Names
—
Lists

Codes

FormatValue
HEX#fff8fa
RGBrgb(255 248 250)
HSLhsl(342.86 100% 98.63%)
OKLCHoklch(0.99 0.01 357.79)
CMYKcmyk(0% 2.75% 1.96% 0%)
Android#fffff8fa

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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