Skip to content

#ecccc6

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

RGB
236, 204, 198
HSL
10°, 50%, 85%
CMYK
0, 14, 16, 8
Luminance
0.6510

Every format

HEX#ecccc6
RGBrgb(236, 204, 198)
HSLhsl(10, 50%, 85%)
CMYKcmyk(0%, 14%, 16%, 8%)
LABlab(84.5 10.3 7.1)
LCHlch(84.5 12.5 34.8)
OKLCHoklch(0.871 0.037 30.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.0%
Blue77.6%

CMYK percentages

Cyan0.0%
Magenta13.6%
Yellow16.1%
Key (black)7.5%

Color previews

#ecccc6 text on a black background

contrast 14.02:1

Card sample

#ecccc6 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccc6

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccc6 in the Color Lab