Skip to content

#ffdef9

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

RGB
255, 222, 249
HSL
311°, 100%, 94%
CMYK
0, 13, 2, 0
Luminance
0.8034

Every format

HEX#ffdef9
RGBrgb(255, 222, 249)
HSLhsl(311, 100%, 94%)
CMYKcmyk(0%, 13%, 2%, 0%)
LABlab(91.8 15.9 -8.9)
LCHlch(91.8 18.2 330.7)
OKLCHoklch(0.936 0.051 332.1)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdef9 on white: 1.23:1
AA ✗ fail · AA-large · AAA
Aa
#ffdef9 on black: 17.07:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green87.1%
Blue97.6%

CMYK percentages

Cyan0.0%
Magenta12.9%
Yellow2.4%
Key (black)0.0%

Color previews

#ffdef9 text on a black background

contrast 17.07:1

Card sample

#ffdef9 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdef9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdef9 in the Color Lab