Skip to content
Vectorlight.net

#f0d8ea

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

HEX
#f0d8ea
RGB
240, 216, 234
HSL
315°, 44.44%, 89.41%
OKLCH
0.91 0.04 334.52
Names
—
Lists

Codes

FormatValue
HEX#f0d8ea
RGBrgb(240 216 234)
HSLhsl(315 44.44% 89.41%)
OKLCHoklch(0.91 0.04 334.52)
CMYKcmyk(0% 10% 2.5% 5.88%)
Android#fff0d8ea

Names & lists

Web-safe: No

Tailwind: No

Contrast

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

Recolor an SVG with this color

CSS

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