Skip to content

#f2dceb

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

RGB
242, 220, 235
HSL
319°, 46%, 91%
CMYK
0, 9, 3, 5
Luminance
0.7606

Every format

HEX#f2dceb
RGBrgb(242, 220, 235)
HSLhsl(319, 46%, 91%)
CMYKcmyk(0%, 9%, 3%, 5%)
LABlab(89.9 10.1 -4.6)
LCHlch(89.9 11.1 335.7)
OKLCHoklch(0.917 0.031 337.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green86.3%
Blue92.2%

CMYK percentages

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

Color previews

#f2dceb text on a black background

contrast 16.21:1

Card sample

#f2dceb text on a white background

contrast 1.30:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2dceb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2dceb in the Color Lab