Skip to content

#fef9ff

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

RGB
254, 249, 255
HSL
290°, 100%, 99%
CMYK
0, 2, 0, 0
Luminance
0.9604

Every format

HEX#fef9ff
RGBrgb(254, 249, 255)
HSLhsl(290, 100%, 99%)
CMYKcmyk(0%, 2%, 0%, 0%)
LABlab(98.5 2.7 -2.3)
LCHlch(98.5 3.5 319.9)
OKLCHoklch(0.988 0.009 320.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green97.6%
Blue100.0%

CMYK percentages

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

Color previews

#fef9ff text on a black background

contrast 20.21:1

Card sample

#fef9ff text on a white background

contrast 1.04:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef9ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef9ff in the Color Lab