Skip to content

#fef1fd

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

RGB
254, 241, 253
HSL
305°, 87%, 97%
CMYK
0, 5, 0, 0
Luminance
0.9107

Every format

HEX#fef1fd
RGBrgb(254, 241, 253)
HSLhsl(305, 87%, 97%)
CMYKcmyk(0%, 5%, 0%, 0%)
LABlab(96.4 6.4 -4.2)
LCHlch(96.4 7.7 326.8)
OKLCHoklch(0.972 0.021 328.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef1fd on white: 1.09:1
AA ✗ fail · AA-large · AAA
Aa
#fef1fd on black: 19.21:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.5%
Blue99.2%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow0.4%
Key (black)0.4%

Color previews

#fef1fd text on a black background

contrast 19.21:1

Card sample

#fef1fd text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef1fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef1fd in the Color Lab