Skip to content

#ffdcf0

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

RGB
255, 220, 240
HSL
326°, 100%, 93%
CMYK
0, 14, 6, 0
Luminance
0.7874

Every format

HEX#ffdcf0
RGBrgb(255, 220, 240)
HSLhsl(326, 100%, 93%)
CMYKcmyk(0%, 14%, 6%, 0%)
LABlab(91.1 15.4 -5.3)
LCHlch(91.1 16.2 341.1)
OKLCHoklch(0.929 0.046 342.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green86.3%
Blue94.1%

CMYK percentages

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

Color previews

#ffdcf0 text on a black background

contrast 16.75:1

Card sample

#ffdcf0 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdcf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdcf0 in the Color Lab