Skip to content

#ffddef

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

RGB
255, 221, 239
HSL
328°, 100%, 93%
CMYK
0, 13, 6, 0
Luminance
0.7920

Every format

HEX#ffddef
RGBrgb(255, 221, 239)
HSLhsl(328, 100%, 93%)
CMYKcmyk(0%, 13%, 6%, 0%)
LABlab(91.3 14.7 -4.4)
LCHlch(91.3 15.3 343.2)
OKLCHoklch(0.931 0.044 344.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffddef on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ffddef on black: 16.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green86.7%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta13.3%
Yellow6.3%
Key (black)0.0%

Color previews

#ffddef text on a black background

contrast 16.84:1

Card sample

#ffddef text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffddef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffddef in the Color Lab