Skip to content

#f2ccdc

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

RGB
242, 204, 220
HSL
335°, 59%, 88%
CMYK
0, 16, 9, 5
Luminance
0.6723

Every format

HEX#f2ccdc
RGBrgb(242, 204, 220)
HSLhsl(335, 59%, 88%)
CMYKcmyk(0%, 16%, 9%, 5%)
LABlab(85.6 15.9 -2.9)
LCHlch(85.6 16.2 349.6)
OKLCHoklch(0.882 0.047 350.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ccdc on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#f2ccdc on black: 14.45:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.0%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow9.1%
Key (black)5.1%

Color previews

#f2ccdc text on a black background

contrast 14.45:1

Card sample

#f2ccdc text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccdc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccdc in the Color Lab