Skip to content

#ffdafa

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

RGB
255, 218, 250
HSL
308°, 100%, 93%
CMYK
0, 15, 2, 0
Luminance
0.7830

Every format

HEX#ffdafa
RGBrgb(255, 218, 250)
HSLhsl(308, 100%, 93%)
CMYKcmyk(0%, 15%, 2%, 0%)
LABlab(90.9 18.1 -10.8)
LCHlch(90.9 21.1 329.2)
OKLCHoklch(0.929 0.058 330.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green85.5%
Blue98.0%

CMYK percentages

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

Color previews

#ffdafa text on a black background

contrast 16.66:1

Card sample

#ffdafa text on a white background

contrast 1.26:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdafa

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdafa in the Color Lab