Skip to content

#fcf2f8

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

RGB
252, 242, 248
HSL
324°, 63%, 97%
CMYK
0, 4, 2, 1
Luminance
0.9098

Every format

HEX#fcf2f8
RGBrgb(252, 242, 248)
HSLhsl(324, 63%, 97%)
CMYKcmyk(0%, 4%, 2%, 1%)
LABlab(96.4 4.4 -1.7)
LCHlch(96.4 4.7 338.9)
OKLCHoklch(0.971 0.013 340.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red98.8%
Green94.9%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta4.0%
Yellow1.6%
Key (black)1.2%

Color previews

#fcf2f8 text on a black background

contrast 19.20:1

Card sample

#fcf2f8 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fcf2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fcf2f8 in the Color Lab