Skip to content

#ecafeb

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

RGB
236, 175, 235
HSL
301°, 62%, 81%
CMYK
0, 26, 0, 8
Luminance
0.5449

Every format

HEX#ecafeb
RGBrgb(236, 175, 235)
HSLhsl(301, 62%, 81%)
CMYKcmyk(0%, 26%, 0%, 8%)
LABlab(78.8 31.9 -21.3)
LCHlch(78.8 38.4 326.3)
OKLCHoklch(0.829 0.105 327.0)

Copy-ready code

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

Accessibility — WCAG contrast

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

RGB percentages

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

CMYK percentages

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

Color previews

#ecafeb text on a black background

contrast 11.90:1

Card sample

#ecafeb text on a white background

contrast 1.76:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ecafeb

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ecafeb in the Color Lab