Skip to content

#ffcfe2

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

RGB
255, 207, 226
HSL
336°, 100%, 91%
CMYK
0, 19, 11, 0
Luminance
0.7138

Every format

HEX#ffcfe2
RGBrgb(255, 207, 226)
HSLhsl(336, 100%, 91%)
CMYKcmyk(0%, 19%, 11%, 0%)
LABlab(87.7 19.8 -3.0)
LCHlch(87.7 20.0 351.5)
OKLCHoklch(0.901 0.059 352.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green81.2%
Blue88.6%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow11.4%
Key (black)0.0%

Color previews

#ffcfe2 text on a black background

contrast 15.28:1

Card sample

#ffcfe2 text on a white background

contrast 1.37:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcfe2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcfe2 in the Color Lab