Skip to content

#ec55cd

a balanced, electric magenta / pink · warm · closest name: orchid

RGB
236, 85, 205
HSL
312°, 80%, 63%
CMYK
0, 64, 13, 8
Luminance
0.2874

Every format

HEX#ec55cd
RGBrgb(236, 85, 205)
HSLhsl(312, 80%, 63%)
CMYKcmyk(0%, 64%, 13%, 8%)
LABlab(60.5 70.6 -32.6)
LCHlch(60.5 77.8 335.2)
OKLCHoklch(0.689 0.225 336.8)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec55cd on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#ec55cd on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green33.3%
Blue80.4%

CMYK percentages

Cyan0.0%
Magenta64.0%
Yellow13.1%
Key (black)7.5%

Color previews

#ec55cd text on a black background

contrast 6.75:1

Card sample

#ec55cd text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec55cd

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec55cd in the Color Lab