Skip to content

#f2dce5

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
242, 220, 229
HSL
336°, 46%, 91%
CMYK
0, 9, 5, 5
Luminance
0.7572

Every format

HEX#f2dce5
RGBrgb(242, 220, 229)
HSLhsl(336, 46%, 91%)
CMYKcmyk(0%, 9%, 5%, 5%)
LABlab(89.7 9.1 -1.6)
LCHlch(89.7 9.2 349.7)
OKLCHoklch(0.915 0.027 350.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dce5 on white: 1.30:1
AA ✗ fail · AA-large · AAA
Aa
#f2dce5 on black: 16.14:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green86.3%
Blue89.8%

CMYK percentages

Cyan0.0%
Magenta9.1%
Yellow5.4%
Key (black)5.1%

Color previews

#f2dce5 text on a black background

contrast 16.14:1

Card sample

#f2dce5 text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dce5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dce5 in the Color Lab