Skip to content

#ffdcf3

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

RGB
255, 220, 243
HSL
321°, 100%, 93%
CMYK
0, 14, 5, 0
Luminance
0.7892

Every format

HEX#ffdcf3
RGBrgb(255, 220, 243)
HSLhsl(321, 100%, 93%)
CMYKcmyk(0%, 14%, 5%, 0%)
LABlab(91.2 15.9 -6.7)
LCHlch(91.2 17.2 337.1)
OKLCHoklch(0.930 0.049 338.7)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green86.3%
Blue95.3%

CMYK percentages

Cyan0.0%
Magenta13.7%
Yellow4.7%
Key (black)0.0%

Color previews

#ffdcf3 text on a black background

contrast 16.78:1

Card sample

#ffdcf3 text on a white background

contrast 1.25:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffdcf3

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffdcf3 in the Color Lab