Skip to content

#f0d6ee

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

RGB
240, 214, 238
HSL
305°, 46%, 89%
CMYK
0, 11, 1, 6
Luminance
0.7279

Every format

HEX#f0d6ee
RGBrgb(240, 214, 238)
HSLhsl(305, 46%, 89%)
CMYKcmyk(0%, 11%, 1%, 6%)
LABlab(88.3 13.1 -8.4)
LCHlch(88.3 15.6 327.2)
OKLCHoklch(0.904 0.043 328.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0d6ee on white: 1.35:1
AA ✗ fail · AA-large · AAA
Aa
#f0d6ee on black: 15.56:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green83.9%
Blue93.3%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow0.8%
Key (black)5.9%

Color previews

#f0d6ee text on a black background

contrast 15.56:1

Card sample

#f0d6ee text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d6ee

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d6ee in the Color Lab