Skip to content

#ecccf0

a pale, vivid magenta / pink · warm · closest name: lavender

RGB
236, 204, 240
HSL
293°, 55%, 87%
CMYK
2, 15, 0, 6
Luminance
0.6731

Every format

HEX#ecccf0
RGBrgb(236, 204, 240)
HSLhsl(293, 55%, 87%)
CMYKcmyk(2%, 15%, 0%, 6%)
LABlab(85.7 17.4 -13.5)
LCHlch(85.7 22.1 322.1)
OKLCHoklch(0.883 0.060 322.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecccf0 on white: 1.45:1
AA ✗ fail · AA-large · AAA
Aa
#ecccf0 on black: 14.46:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green80.0%
Blue94.1%

CMYK percentages

Cyan1.7%
Magenta15.0%
Yellow0.0%
Key (black)5.9%

Color previews

#ecccf0 text on a black background

contrast 14.46:1

Card sample

#ecccf0 text on a white background

contrast 1.45:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecccf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecccf0 in the Color Lab