Skip to content
Vectorlight.net

#f0ddef

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

HEX
#f0ddef
RGB
240, 221, 239
HSL
303.16°, 38.78%, 90.39%
OKLCH
0.92 0.03 327.43
Names
—
Lists

Codes

FormatValue
HEX#f0ddef
RGBrgb(240 221 239)
HSLhsl(303.16 38.78% 90.39%)
OKLCHoklch(0.92 0.03 327.43)
CMYKcmyk(0% 7.92% 0.42% 5.88%)
Android#fff0ddef

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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