Skip to content

#fff9fc

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

RGB
255, 249, 252
HSL
330°, 100%, 99%
CMYK
0, 2, 1, 0
Luminance
0.9604

Every format

HEX#fff9fc
RGBrgb(255, 249, 252)
HSLhsl(330, 100%, 99%)
CMYKcmyk(0%, 2%, 1%, 0%)
LABlab(98.5 2.5 -0.7)
LCHlch(98.5 2.6 343.8)
OKLCHoklch(0.988 0.007 345.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fff9fc on white: 1.04:1
AA ✗ fail · AA-large · AAA
Aa
#fff9fc on black: 20.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green97.6%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow1.2%
Key (black)0.0%

Color previews

#fff9fc text on a black background

contrast 20.21:1

Card sample

#fff9fc text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fff9fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fff9fc in the Color Lab