Skip to content

#f2dfea

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

RGB
242, 223, 234
HSL
325°, 42%, 91%
CMYK
0, 8, 3, 5
Luminance
0.7759

Every format

HEX#f2dfea
RGBrgb(242, 223, 234)
HSLhsl(325, 42%, 91%)
CMYKcmyk(0%, 8%, 3%, 5%)
LABlab(90.6 8.4 -3.0)
LCHlch(90.6 8.9 340.2)
OKLCHoklch(0.922 0.025 341.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2dfea on white: 1.27:1
AA ✗ fail · AA-large · AAA
Aa
#f2dfea on black: 16.52:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green87.5%
Blue91.8%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow3.3%
Key (black)5.1%

Color previews

#f2dfea text on a black background

contrast 16.52:1

Card sample

#f2dfea text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dfea

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dfea in the Color Lab