Skip to content

#f2cfc4

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

RGB
242, 207, 196
HSL
14°, 64%, 86%
CMYK
0, 15, 19, 5
Luminance
0.6749

Every format

HEX#f2cfc4
RGBrgb(242, 207, 196)
HSLhsl(14, 64%, 86%)
CMYKcmyk(0%, 15%, 19%, 5%)
LABlab(85.8 10.6 10.0)
LCHlch(85.8 14.6 43.5)
OKLCHoklch(0.881 0.042 38.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2cfc4 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#f2cfc4 on black: 14.50:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green81.2%
Blue76.9%

CMYK percentages

Cyan0.0%
Magenta14.5%
Yellow19.0%
Key (black)5.1%

Color previews

#f2cfc4 text on a black background

contrast 14.50:1

Card sample

#f2cfc4 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2cfc4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2cfc4 in the Color Lab