Skip to content

#fcedf2

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

RGB
252, 237, 242
HSL
340°, 71%, 96%
CMYK
0, 6, 4, 1
Luminance
0.8767

Every format

HEX#fcedf2
RGBrgb(252, 237, 242)
HSLhsl(340, 71%, 96%)
CMYKcmyk(0%, 6%, 4%, 1%)
LABlab(95.0 5.9 -0.6)
LCHlch(95.0 5.9 354.3)
OKLCHoklch(0.959 0.017 355.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcedf2 on white: 1.13:1
AA ✗ fail · AA-large · AAA
Aa
#fcedf2 on black: 18.53:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green92.9%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta6.0%
Yellow4.0%
Key (black)1.2%

Color previews

#fcedf2 text on a black background

contrast 18.53:1

Card sample

#fcedf2 text on a white background

contrast 1.13:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcedf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcedf2 in the Color Lab