Skip to content

#ffcff2

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

RGB
255, 207, 242
HSL
316°, 100%, 91%
CMYK
0, 19, 5, 0
Luminance
0.7230

Every format

HEX#ffcff2
RGBrgb(255, 207, 242)
HSLhsl(316, 100%, 91%)
CMYKcmyk(0%, 19%, 5%, 0%)
LABlab(88.1 22.5 -10.8)
LCHlch(88.1 24.9 334.4)
OKLCHoklch(0.906 0.070 336.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcff2 on white: 1.36:1
AA ✗ fail · AA-large · AAA
Aa
#ffcff2 on black: 15.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green81.2%
Blue94.9%

CMYK percentages

Cyan0.0%
Magenta18.8%
Yellow5.1%
Key (black)0.0%

Color previews

#ffcff2 text on a black background

contrast 15.46:1

Card sample

#ffcff2 text on a white background

contrast 1.36:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcff2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcff2 in the Color Lab