Skip to content

#ecccc8

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

RGB
236, 204, 200
HSL
7°, 49%, 86%
CMYK
0, 14, 15, 8
Luminance
0.6519

Every format

HEX#ecccc8
RGBrgb(236, 204, 200)
HSLhsl(7, 49%, 86%)
CMYKcmyk(0%, 14%, 15%, 8%)
LABlab(84.6 10.6 6.1)
LCHlch(84.6 12.2 30.1)
OKLCHoklch(0.871 0.037 26.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecccc8 on white: 1.50:1
AA ✗ fail · AA-large · AAA
Aa
#ecccc8 on black: 14.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue78.4%

CMYK percentages

Cyan0.0%
Magenta13.6%
Yellow15.3%
Key (black)7.5%

Color previews

#ecccc8 text on a black background

contrast 14.04:1

Card sample

#ecccc8 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccc8

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccc8 in the Color Lab