Skip to content

#fef4f9

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

RGB
254, 244, 249
HSL
330°, 83%, 98%
CMYK
0, 4, 2, 0
Luminance
0.9261

Every format

HEX#fef4f9
RGBrgb(254, 244, 249)
HSLhsl(330, 83%, 98%)
CMYKcmyk(0%, 4%, 2%, 0%)
LABlab(97.1 4.2 -1.2)
LCHlch(97.1 4.4 343.9)
OKLCHoklch(0.976 0.013 345.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green95.7%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta3.9%
Yellow2.0%
Key (black)0.4%

Color previews

#fef4f9 text on a black background

contrast 19.52:1

Card sample

#fef4f9 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef4f9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef4f9 in the Color Lab