Skip to content

#f0dcdf

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

RGB
240, 220, 223
HSL
351°, 40%, 90%
CMYK
0, 8, 7, 6
Luminance
0.7504

Every format

HEX#f0dcdf
RGBrgb(240, 220, 223)
HSLhsl(351, 40%, 90%)
CMYKcmyk(0%, 8%, 7%, 6%)
LABlab(89.4 7.4 1.0)
LCHlch(89.4 7.4 7.9)
OKLCHoklch(0.911 0.022 7.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green86.3%
Blue87.5%

CMYK percentages

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

Color previews

#f0dcdf text on a black background

contrast 16.01:1

Card sample

#f0dcdf text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dcdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dcdf in the Color Lab