Skip to content

#f2dfeb

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

RGB
242, 223, 235
HSL
322°, 42%, 91%
CMYK
0, 8, 3, 5
Luminance
0.7765

Every format

HEX#f2dfeb
RGBrgb(242, 223, 235)
HSLhsl(322, 42%, 91%)
CMYKcmyk(0%, 8%, 3%, 5%)
LABlab(90.6 8.5 -3.5)
LCHlch(90.6 9.2 337.8)
OKLCHoklch(0.922 0.026 339.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green87.5%
Blue92.2%

CMYK percentages

Cyan0.0%
Magenta7.9%
Yellow2.9%
Key (black)5.1%

Color previews

#f2dfeb text on a black background

contrast 16.53:1

Card sample

#f2dfeb text on a white background

contrast 1.27:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dfeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dfeb in the Color Lab