Skip to content

#f2dcdd

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

RGB
242, 220, 221
HSL
357°, 46%, 91%
CMYK
0, 9, 9, 5
Luminance
0.7528

Every format

HEX#f2dcdd
RGBrgb(242, 220, 221)
HSLhsl(357, 46%, 91%)
CMYKcmyk(0%, 9%, 9%, 5%)
LABlab(89.5 7.7 2.3)
LCHlch(89.5 8.0 16.3)
OKLCHoklch(0.913 0.024 14.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green86.3%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow8.7%
Key (black)5.1%

Color previews

#f2dcdd text on a black background

contrast 16.06:1

Card sample

#f2dcdd text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dcdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dcdd in the Color Lab