Skip to content

#ffdef1

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

RGB
255, 222, 241
HSL
326°, 100%, 94%
CMYK
0, 13, 6, 0
Luminance
0.7985

Every format

HEX#ffdef1
RGBrgb(255, 222, 241)
HSLhsl(326, 100%, 94%)
CMYKcmyk(0%, 13%, 6%, 0%)
LABlab(91.6 14.5 -5.0)
LCHlch(91.6 15.3 340.8)
OKLCHoklch(0.933 0.044 342.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green87.1%
Blue94.5%

CMYK percentages

Cyan0.0%
Magenta12.9%
Yellow5.5%
Key (black)0.0%

Color previews

#ffdef1 text on a black background

contrast 16.97:1

Card sample

#ffdef1 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdef1

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdef1 in the Color Lab