Skip to content

#ffcec7

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

RGB
255, 206, 199
HSL
8°, 100%, 89%
CMYK
0, 19, 22, 0
Luminance
0.6953

Every format

HEX#ffcec7
RGBrgb(255, 206, 199)
HSLhsl(8, 100%, 89%)
CMYKcmyk(0%, 19%, 22%, 0%)
LABlab(86.8 16.2 10.0)
LCHlch(86.8 19.1 31.7)
OKLCHoklch(0.892 0.057 27.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffcec7 on white: 1.41:1
AA ✗ fail · AA-large · AAA
Aa
#ffcec7 on black: 14.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green80.8%
Blue78.0%

CMYK percentages

Cyan0.0%
Magenta19.2%
Yellow22.0%
Key (black)0.0%

Color previews

#ffcec7 text on a black background

contrast 14.91:1

Card sample

#ffcec7 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcec7

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcec7 in the Color Lab