Skip to content

#ffddf2

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

RGB
255, 221, 242
HSL
323°, 100%, 93%
CMYK
0, 13, 5, 0
Luminance
0.7938

Every format

HEX#ffddf2
RGBrgb(255, 221, 242)
HSLhsl(323, 100%, 93%)
CMYKcmyk(0%, 13%, 5%, 0%)
LABlab(91.4 15.2 -5.9)
LCHlch(91.4 16.3 338.8)
OKLCHoklch(0.932 0.046 340.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green86.7%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta13.3%
Yellow5.1%
Key (black)0.0%

Color previews

#ffddf2 text on a black background

contrast 16.88:1

Card sample

#ffddf2 text on a white background

contrast 1.24:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffddf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffddf2 in the Color Lab