Skip to content

#ffecec

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

RGB
255, 236, 236
HSL
0°, 100%, 96%
CMYK
0, 8, 8, 0
Luminance
0.8731

Every format

HEX#ffecec
RGBrgb(255, 236, 236)
HSLhsl(0, 100%, 96%)
CMYKcmyk(0%, 8%, 8%, 0%)
LABlab(94.9 6.4 2.3)
LCHlch(94.9 6.8 19.9)
OKLCHoklch(0.958 0.021 17.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ffecec on white: 1.14:1
AA ✗ fail · AA-large · AAA
Aa
#ffecec on black: 18.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red100.0%
Green92.5%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta7.5%
Yellow7.5%
Key (black)0.0%

Color previews

#ffecec text on a black background

contrast 18.46:1

Card sample

#ffecec text on a white background

contrast 1.14:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ffecec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ffecec in the Color Lab