Skip to content

#ffdef4

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

RGB
255, 222, 244
HSL
320°, 100%, 94%
CMYK
0, 13, 4, 0
Luminance
0.8003

Every format

HEX#ffdef4
RGBrgb(255, 222, 244)
HSLhsl(320, 100%, 94%)
CMYKcmyk(0%, 13%, 4%, 0%)
LABlab(91.7 15.0 -6.5)
LCHlch(91.7 16.3 336.6)
OKLCHoklch(0.934 0.046 338.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green87.1%
Blue95.7%

CMYK percentages

Cyan0.0%
Magenta12.9%
Yellow4.3%
Key (black)0.0%

Color previews

#ffdef4 text on a black background

contrast 17.01:1

Card sample

#ffdef4 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdef4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdef4 in the Color Lab