Skip to content

#ffdffb

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

RGB
255, 223, 251
HSL
308°, 100%, 94%
CMYK
0, 13, 2, 0
Luminance
0.8100

Every format

HEX#ffdffb
RGBrgb(255, 223, 251)
HSLhsl(308, 100%, 94%)
CMYKcmyk(0%, 13%, 2%, 0%)
LABlab(92.1 15.7 -9.5)
LCHlch(92.1 18.4 328.8)
OKLCHoklch(0.938 0.051 330.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdffb on white: 1.22:1
AA ✗ fail · AA-large · AAA
Aa
#ffdffb on black: 17.20:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green87.5%
Blue98.4%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow1.6%
Key (black)0.0%

Color previews

#ffdffb text on a black background

contrast 17.20:1

Card sample

#ffdffb text on a white background

contrast 1.22:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdffb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdffb in the Color Lab