Skip to content

#ffddfb

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

RGB
255, 221, 251
HSL
307°, 100%, 93%
CMYK
0, 13, 2, 0
Luminance
0.7994

Every format

HEX#ffddfb
RGBrgb(255, 221, 251)
HSLhsl(307, 100%, 93%)
CMYKcmyk(0%, 13%, 2%, 0%)
LABlab(91.7 16.8 -10.2)
LCHlch(91.7 19.6 328.6)
OKLCHoklch(0.934 0.054 329.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffddfb on white: 1.24:1
AA ✗ fail · AA-large · AAA
Aa
#ffddfb on black: 16.99:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green86.7%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta13.3%
Yellow1.6%
Key (black)0.0%

Color previews

#ffddfb text on a black background

contrast 16.99:1

Card sample

#ffddfb text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffddfb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffddfb in the Color Lab