Skip to content

#f0d6eb

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

RGB
240, 214, 235
HSL
312°, 46%, 89%
CMYK
0, 11, 2, 6
Luminance
0.7262

Every format

HEX#f0d6eb
RGBrgb(240, 214, 235)
HSLhsl(312, 46%, 89%)
CMYKcmyk(0%, 11%, 2%, 6%)
LABlab(88.3 12.6 -7.0)
LCHlch(88.3 14.4 330.9)
OKLCHoklch(0.904 0.040 332.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green83.9%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta10.8%
Yellow2.1%
Key (black)5.9%

Color previews

#f0d6eb text on a black background

contrast 15.52:1

Card sample

#f0d6eb text on a white background

contrast 1.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0d6eb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0d6eb in the Color Lab