Skip to content

#f2dcdf

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

RGB
242, 220, 223
HSL
352°, 46%, 91%
CMYK
0, 9, 8, 5
Luminance
0.7539

Every format

HEX#f2dcdf
RGBrgb(242, 220, 223)
HSLhsl(352, 46%, 91%)
CMYKcmyk(0%, 9%, 8%, 5%)
LABlab(89.6 8.1 1.3)
LCHlch(89.6 8.2 9.0)
OKLCHoklch(0.913 0.025 8.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green86.3%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow7.9%
Key (black)5.1%

Color previews

#f2dcdf text on a black background

contrast 16.08:1

Card sample

#f2dcdf text on a white background

contrast 1.31:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dcdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dcdf in the Color Lab