Skip to content

#ec4fad

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

RGB
236, 79, 173
HSL
324°, 81%, 62%
CMYK
0, 67, 27, 8
Luminance
0.2644

Every format

HEX#ec4fad
RGBrgb(236, 79, 173)
HSLhsl(324, 81%, 62%)
CMYKcmyk(0%, 67%, 27%, 8%)
LABlab(58.5 68.6 -17.5)
LCHlch(58.5 70.8 345.7)
OKLCHoklch(0.670 0.213 347.5)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec4fad on white: 3.34:1
AA ✗ fail · AA-large · AAA
Aa
#ec4fad on black: 6.29:1
AA ✓ pass · AA-large · AAA
true color
protanopia
deuteranopia
tritanopia

RGB percentages

Red92.5%
Green31.0%
Blue67.8%

CMYK percentages

Cyan0.0%
Magenta66.5%
Yellow26.7%
Key (black)7.5%

Color previews

#ec4fad text on a black background

contrast 6.29:1

Card sample

#ec4fad text on a white background

contrast 3.34:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec4fad

Shades — darker

Tints — lighter

Hue & tone neighbors

Color harmonies

Nearest named colors

Work with #ec4fad in the Color Lab