Skip to content

#fce2f8

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

RGB
252, 226, 248
HSL
309°, 81%, 94%
CMYK
0, 10, 2, 1
Luminance
0.8187

Every format

HEX#fce2f8
RGBrgb(252, 226, 248)
HSLhsl(309, 81%, 94%)
CMYKcmyk(0%, 10%, 2%, 1%)
LABlab(92.5 12.6 -7.4)
LCHlch(92.5 14.6 329.6)
OKLCHoklch(0.940 0.040 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fce2f8 on white: 1.21:1
AA ✗ fail · AA-large · AAA
Aa
#fce2f8 on black: 17.37:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green88.6%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta10.3%
Yellow1.6%
Key (black)1.2%

Color previews

#fce2f8 text on a black background

contrast 17.37:1

Card sample

#fce2f8 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fce2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fce2f8 in the Color Lab