Skip to content

#fcf2fe

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

RGB
252, 242, 254
HSL
290°, 86%, 97%
CMYK
1, 5, 0, 0
Luminance
0.9136

Every format

HEX#fcf2fe
RGBrgb(252, 242, 254)
HSLhsl(290, 86%, 97%)
CMYKcmyk(1%, 5%, 0%, 0%)
LABlab(96.6 5.4 -4.6)
LCHlch(96.6 7.1 320.0)
OKLCHoklch(0.972 0.019 320.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fcf2fe on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fcf2fe on black: 19.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red98.8%
Green94.9%
Blue99.6%

CMYK percentages

Cyan0.8%
Magenta4.7%
Yellow0.0%
Key (black)0.4%

Color previews

#fcf2fe text on a black background

contrast 19.27:1

Card sample

#fcf2fe text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2fe

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2fe in the Color Lab