Skip to content

#fdf1fb

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

RGB
253, 241, 251
HSL
310°, 75%, 97%
CMYK
0, 5, 1, 1
Luminance
0.9076

Every format

HEX#fdf1fb
RGBrgb(253, 241, 251)
HSLhsl(310, 75%, 97%)
CMYKcmyk(0%, 5%, 1%, 1%)
LABlab(96.3 5.8 -3.4)
LCHlch(96.3 6.7 329.7)
OKLCHoklch(0.970 0.018 331.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta4.7%
Yellow0.8%
Key (black)0.8%

Color previews

#fdf1fb text on a black background

contrast 19.15:1

Card sample

#fdf1fb text on a white background

contrast 1.10:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1fb in the Color Lab