Skip to content

#f2d9ed

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

RGB
242, 217, 237
HSL
312°, 49%, 90%
CMYK
0, 10, 2, 5
Luminance
0.7462

Every format

HEX#f2d9ed
RGBrgb(242, 217, 237)
HSLhsl(312, 49%, 90%)
CMYKcmyk(0%, 10%, 2%, 5%)
LABlab(89.2 12.0 -6.6)
LCHlch(89.2 13.7 331.2)
OKLCHoklch(0.912 0.038 332.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green85.1%
Blue92.9%

CMYK percentages

Cyan0.0%
Magenta10.3%
Yellow2.1%
Key (black)5.1%

Color previews

#f2d9ed text on a black background

contrast 15.92:1

Card sample

#f2d9ed text on a white background

contrast 1.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2d9ed

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2d9ed in the Color Lab