Skip to content

#fcdef2

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

RGB
252, 222, 242
HSL
320°, 83%, 93%
CMYK
0, 12, 4, 1
Luminance
0.7935

Every format

HEX#fcdef2
RGBrgb(252, 222, 242)
HSLhsl(320, 83%, 93%)
CMYKcmyk(0%, 12%, 4%, 1%)
LABlab(91.4 13.7 -5.9)
LCHlch(91.4 14.9 336.5)
OKLCHoklch(0.931 0.042 338.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcdef2 on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#fcdef2 on black: 16.87:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green87.1%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta11.9%
Yellow4.0%
Key (black)1.2%

Color previews

#fcdef2 text on a black background

contrast 16.87:1

Card sample

#fcdef2 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcdef2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcdef2 in the Color Lab