Skip to content

#f2c7ce

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

RGB
242, 199, 206
HSL
350°, 62%, 87%
CMYK
0, 18, 15, 5
Luminance
0.6418

Every format

HEX#f2c7ce
RGBrgb(242, 199, 206)
HSLhsl(350, 62%, 87%)
CMYKcmyk(0%, 18%, 15%, 5%)
LABlab(84.1 16.3 2.3)
LCHlch(84.1 16.4 7.9)
OKLCHoklch(0.869 0.050 7.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#f2c7ce on white: 1.52:1
AA ✗ fail · AA-large · AAA
Aa
#f2c7ce on black: 13.84:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red94.9%
Green78.0%
Blue80.8%

CMYK percentages

Cyan0.0%
Magenta17.8%
Yellow14.9%
Key (black)5.1%

Color previews

#f2c7ce text on a black background

contrast 13.84:1

Card sample

#f2c7ce text on a white background

contrast 1.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #f2c7ce

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #f2c7ce in the Color Lab