Skip to content

#f0cfdd

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

RGB
240, 207, 221
HSL
335°, 52%, 88%
CMYK
0, 14, 8, 6
Luminance
0.6837

Every format

HEX#f0cfdd
RGBrgb(240, 207, 221)
HSLhsl(335, 52%, 88%)
CMYKcmyk(0%, 14%, 8%, 6%)
LABlab(86.2 13.8 -2.6)
LCHlch(86.2 14.1 349.2)
OKLCHoklch(0.886 0.041 350.5)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green81.2%
Blue86.7%

CMYK percentages

Cyan0.0%
Magenta13.7%
Yellow7.9%
Key (black)5.9%

Color previews

#f0cfdd text on a black background

contrast 14.67:1

Card sample

#f0cfdd text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cfdd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cfdd in the Color Lab