Skip to content

#ffddf0

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

RGB
255, 221, 240
HSL
327°, 100%, 93%
CMYK
0, 13, 6, 0
Luminance
0.7926

Every format

HEX#ffddf0
RGBrgb(255, 221, 240)
HSLhsl(327, 100%, 93%)
CMYKcmyk(0%, 13%, 6%, 0%)
LABlab(91.3 14.8 -4.9)
LCHlch(91.3 15.6 341.7)
OKLCHoklch(0.931 0.045 343.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffddf0 on white: 1.25:1
AA ✗ fail · AA-large · AAA
Aa
#ffddf0 on black: 16.85:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green86.7%
Blue94.1%

CMYK percentages

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

Color previews

#ffddf0 text on a black background

contrast 16.85:1

Card sample

#ffddf0 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffddf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffddf0 in the Color Lab