Skip to content

#f2ccef

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

RGB
242, 204, 239
HSL
305°, 59%, 88%
CMYK
0, 16, 1, 5
Luminance
0.6829

Every format

HEX#f2ccef
RGBrgb(242, 204, 239)
HSLhsl(305, 59%, 88%)
CMYKcmyk(0%, 16%, 1%, 5%)
LABlab(86.2 19.2 -12.2)
LCHlch(86.2 22.8 327.6)
OKLCHoklch(0.888 0.063 328.6)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2ccef on white: 1.43:1
AA ✗ fail · AA-large · AAA
Aa
#f2ccef on black: 14.66:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green80.0%
Blue93.7%

CMYK percentages

Cyan0.0%
Magenta15.7%
Yellow1.2%
Key (black)5.1%

Color previews

#f2ccef text on a black background

contrast 14.66:1

Card sample

#f2ccef text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2ccef

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2ccef in the Color Lab