Skip to content

#ffcec2

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

RGB
255, 206, 194
HSL
12°, 100%, 88%
CMYK
0, 19, 24, 0
Luminance
0.6930

Every format

HEX#ffcec2
RGBrgb(255, 206, 194)
HSLhsl(12, 100%, 88%)
CMYKcmyk(0%, 19%, 24%, 0%)
LABlab(86.7 15.5 12.5)
LCHlch(86.7 19.9 38.9)
OKLCHoklch(0.891 0.058 34.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red100.0%
Green80.8%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta19.2%
Yellow23.9%
Key (black)0.0%

Color previews

#ffcec2 text on a black background

contrast 14.86:1

Card sample

#ffcec2 text on a white background

contrast 1.41:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffcec2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffcec2 in the Color Lab