Skip to content

#ffdaf8

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

RGB
255, 218, 248
HSL
311°, 100%, 93%
CMYK
0, 15, 3, 0
Luminance
0.7818

Every format

HEX#ffdaf8
RGBrgb(255, 218, 248)
HSLhsl(311, 100%, 93%)
CMYKcmyk(0%, 15%, 3%, 0%)
LABlab(90.9 17.8 -9.8)
LCHlch(90.9 20.3 331.1)
OKLCHoklch(0.928 0.056 332.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffdaf8 on white: 1.26:1
AA ✗ fail · AA-large · AAA
Aa
#ffdaf8 on black: 16.64:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green85.5%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow2.7%
Key (black)0.0%

Color previews

#ffdaf8 text on a black background

contrast 16.64:1

Card sample

#ffdaf8 text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdaf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdaf8 in the Color Lab