Skip to content
Vectorlight.net

#f2fcf8

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

HEX
#f2fcf8
RGB
242, 252, 248
HSL
156°, 62.5%, 96.86%
OKLCH
0.98 0.01 170.28
Names
—
Lists

Codes

FormatValue
HEX#f2fcf8
RGBrgb(242 252 248)
HSLhsl(156 62.5% 96.86%)
OKLCHoklch(0.98 0.01 170.28)
CMYKcmyk(3.97% 0% 1.59% 1.18%)
Android#fff2fcf8

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="#f2fcf8"
Gradient stop
<stop stop-color="#f2fcf8"/>
CSS variable + fill
:root { --c: #f2fcf8; }
svg .icon { fill: var(--c); }

Recolor an SVG with this color

CSS

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