Skip to content

#ec20af

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

RGB
236, 32, 175
HSL
318°, 84%, 53%
CMYK
0, 86, 26, 8
Luminance
0.2196

Every format

HEX#ec20af
RGBrgb(236, 32, 175)
HSLhsl(318, 84%, 53%)
CMYKcmyk(0%, 86%, 26%, 8%)
LABlab(54.0 81.7 -25.5)
LCHlch(54.0 85.6 342.6)
OKLCHoklch(0.638 0.258 344.7)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec20af on white: 3.89:1
AA ✗ fail · AA-large · AAA
Aa
#ec20af on black: 5.39:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green12.5%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta86.4%
Yellow25.8%
Key (black)7.5%

Color previews

#ec20af text on a black background

contrast 5.39:1

Card sample

#ec20af text on a white background

contrast 3.89:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec20af

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec20af in the Color Lab