Skip to content
Vectorlight.net

#f2edfb

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

HEX
#f2edfb
RGB
242, 237, 251
HSL
261.43°, 63.64%, 95.69%
OKLCH
0.95 0.02 302.21
Names
—
Lists

Codes

FormatValue
HEX#f2edfb
RGBrgb(242 237 251)
HSLhsl(261.43 63.64% 95.69%)
OKLCHoklch(0.95 0.02 302.21)
CMYKcmyk(3.59% 5.58% 0% 1.57%)
Android#fff2edfb

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

Recolor an SVG with this color

CSS

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