Skip to content

#ecafe4

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

RGB
236, 175, 228
HSL
308°, 62%, 81%
CMYK
0, 26, 3, 8
Luminance
0.5409

Every format

HEX#ecafe4
RGBrgb(236, 175, 228)
HSLhsl(308, 62%, 81%)
CMYKcmyk(0%, 26%, 3%, 8%)
LABlab(78.5 30.7 -17.9)
LCHlch(78.5 35.5 329.8)
OKLCHoklch(0.827 0.099 331.0)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafe4 on white: 1.78:1
AA ✗ fail · AA-large · AAA
Aa
#ecafe4 on black: 11.82:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue89.4%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow3.4%
Key (black)7.5%

Color previews

#ecafe4 text on a black background

contrast 11.82:1

Card sample

#ecafe4 text on a white background

contrast 1.78:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafe4

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafe4 in the Color Lab