Skip to content

#ec8cbc

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

RGB
236, 140, 188
HSL
330°, 72%, 74%
CMYK
0, 41, 20, 8
Luminance
0.4022

Every format

HEX#ec8cbc
RGBrgb(236, 140, 188)
HSLhsl(330, 72%, 74%)
CMYKcmyk(0%, 41%, 20%, 8%)
LABlab(69.6 42.6 -9.2)
LCHlch(69.6 43.6 347.8)
OKLCHoklch(0.755 0.129 349.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec8cbc on white: 2.32:1
AA ✗ fail · AA-large · AAA
Aa
#ec8cbc on black: 9.04:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green54.9%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta40.7%
Yellow20.3%
Key (black)7.5%

Color previews

#ec8cbc text on a black background

contrast 9.04:1

Card sample

#ec8cbc text on a white background

contrast 2.32:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec8cbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec8cbc in the Color Lab