Skip to content

#fdf7fc

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

RGB
253, 247, 252
HSL
310°, 60%, 98%
CMYK
0, 2, 0, 1
Luminance
0.9443

Every format

HEX#fdf7fc
RGBrgb(253, 247, 252)
HSLhsl(310, 60%, 98%)
CMYKcmyk(0%, 2%, 0%, 1%)
LABlab(97.8 2.9 -1.7)
LCHlch(97.8 3.3 329.6)
OKLCHoklch(0.982 0.009 330.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf7fc on white: 1.06:1
AA ✗ fail · AA-large · AAA
Aa
#fdf7fc on black: 19.89:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green96.9%
Blue98.8%

CMYK percentages

Cyan0.0%
Magenta2.4%
Yellow0.4%
Key (black)0.8%

Color previews

#fdf7fc text on a black background

contrast 19.89:1

Card sample

#fdf7fc text on a white background

contrast 1.06:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf7fc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf7fc in the Color Lab