Skip to content

#f2cedf

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

RGB
242, 206, 223
HSL
332°, 58%, 88%
CMYK
0, 15, 8, 5
Luminance
0.6835

Every format

HEX#f2cedf
RGBrgb(242, 206, 223)
HSLhsl(332, 58%, 88%)
CMYKcmyk(0%, 15%, 8%, 5%)
LABlab(86.2 15.4 -3.7)
LCHlch(86.2 15.8 346.5)
OKLCHoklch(0.887 0.046 347.9)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.9%
Green80.8%
Blue87.5%

CMYK percentages

Cyan0.0%
Magenta14.9%
Yellow7.9%
Key (black)5.1%

Color previews

#f2cedf text on a black background

contrast 14.67:1

Card sample

#f2cedf text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cedf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cedf in the Color Lab