Skip to content

#ecabf4

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

RGB
236, 171, 244
HSL
293°, 77%, 81%
CMYK
3, 30, 0, 4
Luminance
0.5349

Every format

HEX#ecabf4
RGBrgb(236, 171, 244)
HSLhsl(293, 77%, 81%)
CMYKcmyk(3%, 30%, 0%, 4%)
LABlab(78.2 35.7 -27.0)
LCHlch(78.2 44.8 322.9)
OKLCHoklch(0.826 0.121 322.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecabf4 on white: 1.80:1
AA ✗ fail · AA-large · AAA
Aa
#ecabf4 on black: 11.70:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green67.1%
Blue95.7%

CMYK percentages

Cyan3.3%
Magenta29.9%
Yellow0.0%
Key (black)4.3%

Color previews

#ecabf4 text on a black background

contrast 11.70:1

Card sample

#ecabf4 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecabf4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecabf4 in the Color Lab