Skip to content

#ffdcf2

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

RGB
255, 220, 242
HSL
322°, 100%, 93%
CMYK
0, 14, 5, 0
Luminance
0.7886

Every format

HEX#ffdcf2
RGBrgb(255, 220, 242)
HSLhsl(322, 100%, 93%)
CMYKcmyk(0%, 14%, 5%, 0%)
LABlab(91.2 15.7 -6.2)
LCHlch(91.2 16.9 338.4)
OKLCHoklch(0.930 0.048 340.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green86.3%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta13.7%
Yellow5.1%
Key (black)0.0%

Color previews

#ffdcf2 text on a black background

contrast 16.77:1

Card sample

#ffdcf2 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdcf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdcf2 in the Color Lab