Skip to content

#ffcdf0

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

RGB
255, 205, 240
HSL
318°, 100%, 90%
CMYK
0, 20, 6, 0
Luminance
0.7121

Every format

HEX#ffcdf0
RGBrgb(255, 205, 240)
HSLhsl(318, 100%, 90%)
CMYKcmyk(0%, 20%, 6%, 0%)
LABlab(87.6 23.2 -10.5)
LCHlch(87.6 25.5 335.7)
OKLCHoklch(0.902 0.072 337.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcdf0 on white: 1.38:1
AA ✗ fail · AA-large · AAA
Aa
#ffcdf0 on black: 15.24:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.4%
Blue94.1%

CMYK percentages

Cyan0.0%
Magenta19.6%
Yellow5.9%
Key (black)0.0%

Color previews

#ffcdf0 text on a black background

contrast 15.24:1

Card sample

#ffcdf0 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcdf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcdf0 in the Color Lab