Skip to content

#fdf0f8

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

RGB
253, 240, 248
HSL
323°, 77%, 97%
CMYK
0, 5, 2, 1
Luminance
0.8998

Every format

HEX#fdf0f8
RGBrgb(253, 240, 248)
HSLhsl(323, 77%, 97%)
CMYKcmyk(0%, 5%, 2%, 1%)
LABlab(96.0 5.7 -2.3)
LCHlch(96.0 6.2 338.3)
OKLCHoklch(0.968 0.017 339.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#fdf0f8 on white: 1.11:1
AA ✗ fail · AA-large · AAA
Aa
#fdf0f8 on black: 19.00:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red99.2%
Green94.1%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta5.1%
Yellow2.0%
Key (black)0.8%

Color previews

#fdf0f8 text on a black background

contrast 19.00:1

Card sample

#fdf0f8 text on a white background

contrast 1.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf0f8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf0f8 in the Color Lab