Skip to content

#ecccc5

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

RGB
236, 204, 197
HSL
11°, 51%, 85%
CMYK
0, 14, 17, 8
Luminance
0.6505

Every format

HEX#ecccc5
RGBrgb(236, 204, 197)
HSLhsl(11, 51%, 85%)
CMYKcmyk(0%, 14%, 17%, 8%)
LABlab(84.5 10.1 7.6)
LCHlch(84.5 12.7 37.0)
OKLCHoklch(0.870 0.037 32.4)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.0%
Blue77.3%

CMYK percentages

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

Color previews

#ecccc5 text on a black background

contrast 14.01:1

Card sample

#ecccc5 text on a white background

contrast 1.50:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccc5

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccc5 in the Color Lab