Skip to content

#ecabf0

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

RGB
236, 171, 240
HSL
297°, 70%, 81%
CMYK
2, 29, 0, 6
Luminance
0.5325

Every format

HEX#ecabf0
RGBrgb(236, 171, 240)
HSLhsl(297, 70%, 81%)
CMYKcmyk(2%, 29%, 0%, 6%)
LABlab(78.0 35.0 -25.1)
LCHlch(78.0 43.0 324.3)
OKLCHoklch(0.824 0.117 324.6)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

Red92.5%
Green67.1%
Blue94.1%

CMYK percentages

Cyan1.7%
Magenta28.8%
Yellow0.0%
Key (black)5.9%

Color previews

#ecabf0 text on a black background

contrast 11.65:1

Card sample

#ecabf0 text on a white background

contrast 1.80:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecabf0

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecabf0 in the Color Lab