Skip to content

#fef0fd

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

RGB
254, 240, 253
HSL
304°, 88%, 97%
CMYK
0, 6, 0, 0
Luminance
0.9048

Every format

HEX#fef0fd
RGBrgb(254, 240, 253)
HSLhsl(304, 88%, 97%)
CMYKcmyk(0%, 6%, 0%, 0%)
LABlab(96.2 6.9 -4.5)
LCHlch(96.2 8.3 326.8)
OKLCHoklch(0.970 0.023 327.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fef0fd on white: 1.10:1
AA ✗ fail · AA-large · AAA
Aa
#fef0fd on black: 19.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.6%
Green94.1%
Blue99.2%

CMYK percentages

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

Color previews

#fef0fd text on a black background

contrast 19.10:1

Card sample

#fef0fd text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fef0fd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fef0fd in the Color Lab