Skip to content

#ffcdf8

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

RGB
255, 205, 248
HSL
308°, 100%, 90%
CMYK
0, 20, 3, 0
Luminance
0.7170

Every format

HEX#ffcdf8
RGBrgb(255, 205, 248)
HSLhsl(308, 100%, 90%)
CMYKcmyk(0%, 20%, 3%, 0%)
LABlab(87.8 24.6 -14.4)
LCHlch(87.8 28.5 329.7)
OKLCHoklch(0.904 0.079 331.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcdf8 on white: 1.37:1
AA ✗ fail · AA-large · AAA
Aa
#ffcdf8 on black: 15.34:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.4%
Blue97.3%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow2.7%
Key (black)0.0%

Color previews

#ffcdf8 text on a black background

contrast 15.34:1

Card sample

#ffcdf8 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcdf8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcdf8 in the Color Lab