Skip to content

#ecafec

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

RGB
236, 175, 236
HSL
300°, 62%, 81%
CMYK
0, 26, 0, 8
Luminance
0.5455

Every format

HEX#ecafec
RGBrgb(236, 175, 236)
HSLhsl(300, 62%, 81%)
CMYKcmyk(0%, 26%, 0%, 8%)
LABlab(78.8 32.1 -21.8)
LCHlch(78.8 38.8 325.9)
OKLCHoklch(0.830 0.106 326.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ecafec on white: 1.76:1
AA ✗ fail · AA-large · AAA
Aa
#ecafec on black: 11.91:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green68.6%
Blue92.5%

CMYK percentages

Cyan0.0%
Magenta25.8%
Yellow0.0%
Key (black)7.5%

Color previews

#ecafec text on a black background

contrast 11.91:1

Card sample

#ecafec text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafec

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafec in the Color Lab