Skip to content

#fdf2fb

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

RGB
253, 242, 251
HSL
311°, 73%, 97%
CMYK
0, 4, 1, 1
Luminance
0.9135

Every format

HEX#fdf2fb
RGBrgb(253, 242, 251)
HSLhsl(311, 73%, 97%)
CMYKcmyk(0%, 4%, 1%, 1%)
LABlab(96.5 5.2 -3.0)
LCHlch(96.5 6.0 330.2)
OKLCHoklch(0.972 0.017 331.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue98.4%

CMYK percentages

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

Color previews

#fdf2fb text on a black background

contrast 19.27:1

Card sample

#fdf2fb text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2fb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2fb in the Color Lab