Skip to content

#ffcdf2

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

RGB
255, 205, 242
HSL
316°, 100%, 90%
CMYK
0, 20, 5, 0
Luminance
0.7133

Every format

HEX#ffcdf2
RGBrgb(255, 205, 242)
HSLhsl(316, 100%, 90%)
CMYKcmyk(0%, 20%, 5%, 0%)
LABlab(87.7 23.5 -11.5)
LCHlch(87.7 26.2 334.0)
OKLCHoklch(0.903 0.074 335.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green80.4%
Blue94.9%

CMYK percentages

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

Color previews

#ffcdf2 text on a black background

contrast 15.27:1

Card sample

#ffcdf2 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcdf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcdf2 in the Color Lab