Skip to content

#f0dcdd

a pale, soft red · warm · closest name: lavender

RGB
240, 220, 221
HSL
357°, 40%, 90%
CMYK
0, 8, 8, 6
Luminance
0.7493

Every format

HEX#f0dcdd
RGBrgb(240, 220, 221)
HSLhsl(357, 40%, 90%)
CMYKcmyk(0%, 8%, 8%, 6%)
LABlab(89.4 7.0 2.0)
LCHlch(89.4 7.3 15.9)
OKLCHoklch(0.911 0.022 14.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dcdd on white: 1.31:1
AA ✗ fail · AA-large · AAA
Aa
#f0dcdd on black: 15.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green86.3%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow7.9%
Key (black)5.9%

Color previews

#f0dcdd text on a black background

contrast 15.99:1

Card sample

#f0dcdd text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dcdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dcdd in the Color Lab