Skip to content

#f2cfc9

a pale, vivid red · warm · closest name: pink

RGB
242, 207, 201
HSL
9°, 61%, 87%
CMYK
0, 15, 17, 5
Luminance
0.6772

Every format

HEX#f2cfc9
RGBrgb(242, 207, 201)
HSLhsl(9, 61%, 87%)
CMYKcmyk(0%, 15%, 17%, 5%)
LABlab(85.9 11.3 7.5)
LCHlch(85.9 13.6 33.6)
OKLCHoklch(0.882 0.040 29.4)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cfc9 on white: 1.44:1
AA ✗ fail · AA-large · AAA
Aa
#f2cfc9 on black: 14.54:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green81.2%
Blue78.8%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow16.9%
Key (black)5.1%

Color previews

#f2cfc9 text on a black background

contrast 14.54:1

Card sample

#f2cfc9 text on a white background

contrast 1.44:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cfc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cfc9 in the Color Lab