Skip to content

#ecccd2

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

RGB
236, 204, 210
HSL
349°, 46%, 86%
CMYK
0, 14, 11, 8
Luminance
0.6567

Every format

HEX#ecccd2
RGBrgb(236, 204, 210)
HSLhsl(349, 46%, 86%)
CMYKcmyk(0%, 14%, 11%, 8%)
LABlab(84.8 12.2 1.2)
LCHlch(84.8 12.2 5.5)
OKLCHoklch(0.874 0.037 5.1)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green80.0%
Blue82.4%

CMYK percentages

Cyan0.0%
Magenta13.6%
Yellow11.0%
Key (black)7.5%

Color previews

#ecccd2 text on a black background

contrast 14.13:1

Card sample

#ecccd2 text on a white background

contrast 1.49:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccd2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccd2 in the Color Lab