Skip to content

#fdf2f8

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

RGB
253, 242, 248
HSL
327°, 73%, 97%
CMYK
0, 4, 2, 1
Luminance
0.9116

Every format

HEX#fdf2f8
RGBrgb(253, 242, 248)
HSLhsl(327, 73%, 97%)
CMYKcmyk(0%, 4%, 2%, 1%)
LABlab(96.5 4.7 -1.6)
LCHlch(96.5 5.0 341.6)
OKLCHoklch(0.971 0.014 343.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.9%
Blue97.3%

CMYK percentages

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

Color previews

#fdf2f8 text on a black background

contrast 19.23:1

Card sample

#fdf2f8 text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf2f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf2f8 in the Color Lab