Skip to content

#f0cfdf

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

RGB
240, 207, 223
HSL
331°, 52%, 88%
CMYK
0, 14, 7, 6
Luminance
0.6848

Every format

HEX#f0cfdf
RGBrgb(240, 207, 223)
HSLhsl(331, 52%, 88%)
CMYKcmyk(0%, 14%, 7%, 6%)
LABlab(86.3 14.2 -3.6)
LCHlch(86.3 14.6 345.7)
OKLCHoklch(0.887 0.042 347.2)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red94.1%
Green81.2%
Blue87.5%

CMYK percentages

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

Color previews

#f0cfdf text on a black background

contrast 14.70:1

Card sample

#f0cfdf text on a white background

contrast 1.43:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f0cfdf

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f0cfdf in the Color Lab