Skip to content

#f0dcdb

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

RGB
240, 220, 219
HSL
3°, 41%, 90%
CMYK
0, 8, 9, 6
Luminance
0.7483

Every format

HEX#f0dcdb
RGBrgb(240, 220, 219)
HSLhsl(3, 41%, 90%)
CMYKcmyk(0%, 8%, 9%, 6%)
LABlab(89.3 6.7 3.0)
LCHlch(89.3 7.3 24.0)
OKLCHoklch(0.910 0.022 21.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f0dcdb on white: 1.32:1
AA ✗ fail · AA-large · AAA
Aa
#f0dcdb on black: 15.97:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.1%
Green86.3%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta8.3%
Yellow8.8%
Key (black)5.9%

Color previews

#f0dcdb text on a black background

contrast 15.97:1

Card sample

#f0dcdb text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0dcdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0dcdb in the Color Lab