Skip to content

#fdf1ff

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

RGB
253, 241, 255
HSL
291°, 100%, 97%
CMYK
1, 6, 0, 0
Luminance
0.9101

Every format

HEX#fdf1ff
RGBrgb(253, 241, 255)
HSLhsl(291, 100%, 97%)
CMYKcmyk(1%, 6%, 0%, 0%)
LABlab(96.4 6.5 -5.3)
LCHlch(96.4 8.3 320.7)
OKLCHoklch(0.972 0.022 321.3)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red99.2%
Green94.5%
Blue100.0%

CMYK percentages

Cyan0.8%
Magenta5.5%
Yellow0.0%
Key (black)0.0%

Color previews

#fdf1ff text on a black background

contrast 19.20:1

Card sample

#fdf1ff text on a white background

contrast 1.09:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #fdf1ff

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #fdf1ff in the Color Lab