Skip to content

#fff2fc

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

RGB
255, 242, 252
HSL
314°, 100%, 98%
CMYK
0, 5, 1, 0
Luminance
0.9179

Every format

HEX#fff2fc
RGBrgb(255, 242, 252)
HSLhsl(314, 100%, 98%)
CMYKcmyk(0%, 5%, 1%, 0%)
LABlab(96.7 6.1 -3.2)
LCHlch(96.7 6.9 331.9)
OKLCHoklch(0.974 0.019 333.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff2fc on white: 1.08:1
AA ✗ fail · AA-large · AAA
Aa
#fff2fc on black: 19.36:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green94.9%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow1.2%
Key (black)0.0%

Color previews

#fff2fc text on a black background

contrast 19.36:1

Card sample

#fff2fc text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff2fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff2fc in the Color Lab