Skip to content

#fdf2f7

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

RGB
253, 242, 247
HSL
333°, 73%, 97%
CMYK
0, 4, 2, 1
Luminance
0.9110

Every format

HEX#fdf2f7
RGBrgb(253, 242, 247)
HSLhsl(333, 73%, 97%)
CMYKcmyk(0%, 4%, 2%, 1%)
LABlab(96.5 4.5 -1.1)
LCHlch(96.5 4.7 346.5)
OKLCHoklch(0.971 0.013 347.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue96.9%

CMYK percentages

Cyan0.0%
Magenta4.3%
Yellow2.4%
Key (black)0.8%

Color previews

#fdf2f7 text on a black background

contrast 19.22:1

Card sample

#fdf2f7 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2f7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2f7 in the Color Lab