Skip to content

#ffdff2

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

RGB
255, 223, 242
HSL
324°, 100%, 94%
CMYK
0, 13, 5, 0
Luminance
0.8045

Every format

HEX#ffdff2
RGBrgb(255, 223, 242)
HSLhsl(324, 100%, 94%)
CMYKcmyk(0%, 13%, 5%, 0%)
LABlab(91.9 14.1 -5.2)
LCHlch(91.9 15.1 339.9)
OKLCHoklch(0.935 0.043 341.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green87.5%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta12.5%
Yellow5.1%
Key (black)0.0%

Color previews

#ffdff2 text on a black background

contrast 17.09:1

Card sample

#ffdff2 text on a white background

contrast 1.23:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdff2 in the Color Lab