Skip to content

#ecafdb

a light, vivid magenta / pink · warm · closest name: plum

RGB
236, 175, 219
HSL
317°, 62%, 81%
CMYK
0, 26, 7, 8
Luminance
0.5361

Every format

HEX#ecafdb
RGBrgb(236, 175, 219)
HSLhsl(317, 62%, 81%)
CMYKcmyk(0%, 26%, 7%, 8%)
LABlab(78.2 29.1 -13.4)
LCHlch(78.2 32.0 335.3)
OKLCHoklch(0.824 0.091 336.9)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafdb on white: 1.79:1
AA ✗ fail · AA-large · AAA
Aa
#ecafdb on black: 11.72:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue85.9%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow7.2%
Key (black)7.5%

Color previews

#ecafdb text on a black background

contrast 11.72:1

Card sample

#ecafdb text on a white background

contrast 1.79:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafdb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafdb in the Color Lab