Skip to content

#ffccf2

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

RGB
255, 204, 242
HSL
315°, 100%, 90%
CMYK
0, 20, 5, 0
Luminance
0.7086

Every format

HEX#ffccf2
RGBrgb(255, 204, 242)
HSLhsl(315, 100%, 90%)
CMYKcmyk(0%, 20%, 5%, 0%)
LABlab(87.4 24.1 -11.8)
LCHlch(87.4 26.8 333.9)
OKLCHoklch(0.901 0.075 335.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

Cyan0.0%
Magenta20.0%
Yellow5.1%
Key (black)0.0%

Color previews

#ffccf2 text on a black background

contrast 15.17:1

Card sample

#ffccf2 text on a white background

contrast 1.38:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffccf2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffccf2 in the Color Lab