Skip to content

#f0dfdc

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

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

Every format

HEX#f0dfdc
RGBrgb(240, 223, 220)
HSLhsl(9, 40%, 90%)
CMYKcmyk(0%, 7%, 8%, 6%)
LABlab(90.1 5.3 3.6)
LCHlch(90.1 6.4 33.9)
OKLCHoklch(0.916 0.019 29.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dfdc on white: 1.29:1
AA ✗ fail · AA-large · AAA
Aa
#f0dfdc on black: 16.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green87.5%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta7.1%
Yellow8.3%
Key (black)5.9%

Color previews

#f0dfdc text on a black background

contrast 16.29:1

Card sample

#f0dfdc text on a white background

contrast 1.29:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dfdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dfdc in the Color Lab