Skip to content

#ffdef6

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

RGB
255, 222, 246
HSL
316°, 100%, 94%
CMYK
0, 13, 4, 0
Luminance
0.8016

Every format

HEX#ffdef6
RGBrgb(255, 222, 246)
HSLhsl(316, 100%, 94%)
CMYKcmyk(0%, 13%, 4%, 0%)
LABlab(91.8 15.3 -7.5)
LCHlch(91.8 17.1 334.1)
OKLCHoklch(0.935 0.048 335.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green87.1%
Blue96.5%

CMYK percentages

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

Color previews

#ffdef6 text on a black background

contrast 17.03:1

Card sample

#ffdef6 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdef6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdef6 in the Color Lab