Skip to content

#ec7fbc

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

RGB
236, 127, 188
HSL
326°, 74%, 71%
CMYK
0, 46, 20, 8
Luminance
0.3664

Every format

HEX#ec7fbc
RGBrgb(236, 127, 188)
HSLhsl(326, 74%, 71%)
CMYKcmyk(0%, 46%, 20%, 8%)
LABlab(67.0 49.2 -13.2)
LCHlch(67.0 50.9 345.0)
OKLCHoklch(0.735 0.151 346.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec7fbc on white: 2.52:1
AA ✗ fail · AA-large · AAA
Aa
#ec7fbc on black: 8.33:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green49.8%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta46.2%
Yellow20.3%
Key (black)7.5%

Color previews

#ec7fbc text on a black background

contrast 8.33:1

Card sample

#ec7fbc text on a white background

contrast 2.52:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec7fbc

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec7fbc in the Color Lab