Skip to content

#f0dfee

a pale, soft magenta / pink · warm · closest name: lavender

RGB
240, 223, 238
HSL
307°, 36%, 91%
CMYK
0, 7, 1, 6
Luminance
0.7747

Every format

HEX#f0dfee
RGBrgb(240, 223, 238)
HSLhsl(307, 36%, 91%)
CMYKcmyk(0%, 7%, 1%, 6%)
LABlab(90.5 8.4 -5.2)
LCHlch(90.5 9.9 328.2)
OKLCHoklch(0.922 0.027 329.5)

Copy-ready code

/* CSS */
color: #f0dfee;
background-color: #f0dfee;
/* Tailwind (arbitrary) */
class="text-[#f0dfee] bg-[#f0dfee]"
/* SCSS */
$brand: #f0dfee;
/* SwiftUI */
Color(red: 0.941, green: 0.875, blue: 0.933)
/* Android */
Color.parseColor("#f0dfee")

Accessibility — WCAG contrast

Aa
#f0dfee on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f0dfee on black: 16.49:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green87.5%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow0.8%
Key (black)5.9%

Color previews

#f0dfee text on a black background

contrast 16.49:1

Card sample

#f0dfee text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

color: #f0dfee;
Background color
Panel with #f0dfee background
background-color: #f0dfee;
Text shadow — hex

Glowing headline

text-shadow: 2px 2px 8px #f0dfee;
Text shadow — RGB

Soft neon halo

text-shadow: 0 0 14px rgba(240, 223, 238, 0.45);
Div box shadow
Elevated card
box-shadow: 0 12px 32px -8px rgba(240, 223, 238, 0.45);
Border & gradient
Gradient panel
border: 3px solid #f0dfee;
background: linear-gradient(135deg, #f0dfee, #F0DFE3);

Monochromatic scale

Palettes built from #f0dfee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dfee in the Color Lab