Skip to content

#fef9fd

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

RGB
254, 249, 253
HSL
312°, 71%, 99%
CMYK
0, 2, 0, 0
Luminance
0.9591

Every format

HEX#fef9fd
RGBrgb(254, 249, 253)
HSLhsl(312, 71%, 99%)
CMYKcmyk(0%, 2%, 0%, 0%)
LABlab(98.4 2.4 -1.3)
LCHlch(98.4 2.7 330.7)
OKLCHoklch(0.987 0.007 332.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green97.6%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta2.0%
Yellow0.4%
Key (black)0.4%

Color previews

#fef9fd text on a black background

contrast 20.18:1

Card sample

#fef9fd text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef9fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef9fd in the Color Lab