Skip to content

#ffdef3

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

RGB
255, 222, 243
HSL
322°, 100%, 94%
CMYK
0, 13, 5, 0
Luminance
0.7997

Every format

HEX#ffdef3
RGBrgb(255, 222, 243)
HSLhsl(322, 100%, 94%)
CMYKcmyk(0%, 13%, 5%, 0%)
LABlab(91.7 14.8 -6.0)
LCHlch(91.7 16.0 337.9)
OKLCHoklch(0.934 0.045 339.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green87.1%
Blue95.3%

CMYK percentages

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

Color previews

#ffdef3 text on a black background

contrast 16.99:1

Card sample

#ffdef3 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdef3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdef3 in the Color Lab