Skip to content

#ec2fc2

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

RGB
236, 47, 194
HSL
313°, 83%, 56%
CMYK
0, 80, 18, 8
Luminance
0.2376

Every format

HEX#ec2fc2
RGBrgb(236, 47, 194)
HSLhsl(313, 83%, 56%)
CMYKcmyk(0%, 80%, 18%, 8%)
LABlab(55.9 81.0 -33.7)
LCHlch(55.9 87.7 337.4)
OKLCHoklch(0.654 0.258 339.3)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec2fc2 on white: 3.65:1
AA ✗ fail · AA-large · AAA
Aa
#ec2fc2 on black: 5.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green18.4%
Blue76.1%

CMYK percentages

Cyan0.0%
Magenta80.1%
Yellow17.8%
Key (black)7.5%

Color previews

#ec2fc2 text on a black background

contrast 5.75:1

Card sample

#ec2fc2 text on a white background

contrast 3.65:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec2fc2

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec2fc2 in the Color Lab