Skip to content

#ecccc9

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

RGB
236, 204, 201
HSL
5°, 48%, 86%
CMYK
0, 14, 15, 8
Luminance
0.6524

Every format

HEX#ecccc9
RGBrgb(236, 204, 201)
HSLhsl(5, 48%, 86%)
CMYKcmyk(0%, 14%, 15%, 8%)
LABlab(84.6 10.7 5.6)
LCHlch(84.6 12.1 27.7)
OKLCHoklch(0.871 0.036 24.2)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecccc9 on white: 1.49:1
AA ✗ fail · AA-large · AAA
Aa
#ecccc9 on black: 14.05:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue78.8%

CMYK percentages

Cyan0.0%
Magenta13.6%
Yellow14.8%
Key (black)7.5%

Color previews

#ecccc9 text on a black background

contrast 14.05:1

Card sample

#ecccc9 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccc9

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccc9 in the Color Lab