Skip to content

#ffdef0

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

RGB
255, 222, 240
HSL
327°, 100%, 94%
CMYK
0, 13, 6, 0
Luminance
0.7979

Every format

HEX#ffdef0
RGBrgb(255, 222, 240)
HSLhsl(327, 100%, 94%)
CMYKcmyk(0%, 13%, 6%, 0%)
LABlab(91.6 14.3 -4.6)
LCHlch(91.6 15.0 342.3)
OKLCHoklch(0.933 0.043 343.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ffdef0 text on a black background

contrast 16.96:1

Card sample

#ffdef0 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdef0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdef0 in the Color Lab