Skip to content

#fce2f2

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

RGB
252, 226, 242
HSL
323°, 81%, 94%
CMYK
0, 10, 4, 1
Luminance
0.8150

Every format

HEX#fce2f2
RGBrgb(252, 226, 242)
HSLhsl(323, 81%, 94%)
CMYKcmyk(0%, 10%, 4%, 1%)
LABlab(92.3 11.6 -4.5)
LCHlch(92.3 12.4 338.7)
OKLCHoklch(0.939 0.035 340.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green88.6%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta10.3%
Yellow4.0%
Key (black)1.2%

Color previews

#fce2f2 text on a black background

contrast 17.30:1

Card sample

#fce2f2 text on a white background

contrast 1.21:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fce2f2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fce2f2 in the Color Lab