Skip to content

#fef4f7

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

RGB
254, 244, 247
HSL
342°, 83%, 98%
CMYK
0, 4, 3, 0
Luminance
0.9249

Every format

HEX#fef4f7
RGBrgb(254, 244, 247)
HSLhsl(342, 83%, 98%)
CMYKcmyk(0%, 4%, 3%, 0%)
LABlab(97.0 3.9 -0.3)
LCHlch(97.0 3.9 356.3)
OKLCHoklch(0.976 0.011 357.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.6%
Green95.7%
Blue96.9%

CMYK percentages

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

Color previews

#fef4f7 text on a black background

contrast 19.50:1

Card sample

#fef4f7 text on a white background

contrast 1.08:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef4f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef4f7 in the Color Lab