Skip to content

#ec4adc

a balanced, electric magenta / pink · neutral · closest name: Magenta

RGB
236, 74, 220
HSL
306°, 81%, 61%
CMYK
0, 69, 7, 8
Luminance
0.2790

At a glance

Every number on this page in one read: what #ec4adc is made of, how bright it looks, and which way it leans.

Hex
#ec4adc
Hue
306°
magenta / pink
Saturation
81%
electric
Lightness
61%
balanced
Brightness
93%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2790
WCAG relative
Temperature
Neutral
47/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.58:1
Closest name
Magenta
ΔE2000 5.3
Where it sits
Hue306° of 360°
Saturation81%
Lightness61%
Temperature
Warm ← → Cool47% cool

Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.

Every format

HEX#ec4adc
RGBrgb(236, 74, 220)
HSLhsl(306, 81%, 61%)
CMYKcmyk(0%, 69%, 7%, 8%)
LABlab(59.8 76.8 -42.3)
LCHlch(59.8 87.7 331.2)
OKLCHoklch(0.686 0.249 332.2)
Decimal15485660
Display P3color(display-p3 0.925 0.290 0.863)

Copy-ready code

/* CSS */
color: #ec4adc;
background-color: #ec4adc;
/* Tailwind (arbitrary) */
class="text-[#ec4adc] bg-[#ec4adc]"
/* SCSS */
$brand: #ec4adc;
/* SwiftUI */
Color(red: 0.925, green: 0.290, blue: 0.863)
/* Android */
Color.parseColor("#ec4adc")
/* Flutter */
Color(0xFFEC4ADC)
/* Python / OpenCV (BGR) */
(220, 74, 236)

Best text color

Only one of black and white can be right. This is the one, with the number that proves it.

Readable at a glance#000000 on #ec4adc · 6.58:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.19:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.58:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ec4adc as text scores 3.19:1 on white and 6.58:1 on black.

Accessibility — WCAG contrast

Aa
#ec4adc on white: 3.19:1
AA ✗ fail · AA-large · AAA
Aa
#ec4adc on black: 6.58:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #4181E0
deuteranopia · #7D98D8
tritanopia · #F65B8E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec4adc is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.

#FCF3FB
#F9E6F7
#F5C6F1
#F499EB
#EF67E2
#ec4adc
#DE17CA
#B913A8
#941087
#6B1062
#430A3D
Base = 500Lightest = 50 · #FCF3FBDarkest = 950 · #430A3D
:root {
  --brand-50: #FCF3FB;
  --brand-100: #F9E6F7;
  --brand-200: #F5C6F1;
  --brand-300: #F499EB;
  --brand-400: #EF67E2;
  --brand-500: #ec4adc;
  --brand-600: #DE17CA;
  --brand-700: #B913A8;
  --brand-800: #941087;
  --brand-900: #6B1062;
  --brand-950: #430A3D;
  --brand: #ec4adc;
  --brand-ink: #000000;
}

Colors that work with #ec4adc

Not a palette — a role sheet. Each swatch answers one question you will hit while building the component.

Text on it#000000
Black wins here
Surface#FAF4FA
Tinted page background
Border#EDC0E8
Hairlines and dividers
Muted text#9B4B93
Captions on the surface
Accent#2ABD0F
Second voice, not a rival
Dark variant#730C69
Hover, pressed, headers
Light variant#FDE8FB
Selected rows, tints
Dark surface#241423
Dark-mode background
Light mode
Everything in its place

Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.

Primary actionSecondaryBadge
Dark mode
Same hue, inverted

Lightness flips, hue holds. The accent stays the anchor in both themes.

Primary actionSecondaryAccent

How to use #ec4adc

Derived from its contrast, chroma and lightness — not from taste.

Works well for
  • Headings from 24px up on white
  • Text and icons on dark surfaces
  • Primary buttons and calls to action
  • Focus rings, active and selected states
  • Brand accents, badges and data highlights
Use with care
  • Small text on white — under 4.5:1
  • Full-page backgrounds — tiring over long sessions
  • Pairing with a same-lightness hue — edges vibrate

Similar colors

One move away from this hex in each direction. Every swatch is its own page.

Color relationships

The wheel positions with their names attached, so you can grab the one you actually need.

Complementary#4AEC5A
Analogous left#AB4AEC
Analogous right#EC4A8B
Split-complement 1#8BEC4A
Split-complement 2#4AECAB
Triadic 1#DCEC4A
Triadic 2#4ADCEC
Tetradic#ECAB4A

RGB percentages

Red92.5%
Green29.0%
Blue86.3%

CMYK percentages

Cyan0.0%
Magenta68.6%
Yellow6.8%
Key (black)7.5%

Color previews

#ec4adc text on a black background

contrast 6.58:1

Card sample

#ec4adc text on a white background

contrast 3.19:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec4adc

Shades — darker

Tints — lighter

Color harmonies

Nearest named colors

Ranked with CIEDE2000 across all 139 CSS keywords. Under ΔE 2 the eye stops telling them apart; over ΔE 10 they are plainly different colors.

#ec4adc in the real world

Where a color in this family tends to land, and the interface roles it is usually asked to play.

Industries
BeautyFashionLifestyleYouth brands
Common UI roles
ButtonsLinksFocus statesCharts
Print note

Sits outside most CMYK gamuts — expect a duller press result, or specify a spot ink.

#ec4adc, answered

What color is #ec4adc?

#ec4adc is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.3). It sits at 306° on the hue wheel with 81% saturation and 61% lightness, which reads as neutral.

What is the RGB value of #ec4adc?

rgb(236, 74, 220) — 236 red, 74 green and 220 blue out of 255, or 92.5% / 29% / 86.3% by channel.

Is #ec4adc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2790 and perceived brightness is 62%, so black text on it reaches 6.58:1.

Should I use black or white text on #ec4adc?

Black. It scores 6.58:1 against #ec4adc, versus 3.19:1 for white — AA at any size.

What is the complementary color of #ec4adc?

#4AEC5A sits directly opposite on the wheel. Softer options are the split-complements #8BEC4A and #4AECAB, which give the same contrast with far less vibration.

What colors go well with #ec4adc?

For interface work: #FAF4FA as the surface, #EDC0E8 for borders, #9B4B93 for secondary text, #2ABD0F as an accent and #730C69 for hover and pressed states. For a palette, the analogous pair #AB4AEC and #EC4A8B stays calm, while #4AEC5A is the loudest partner.

What is #ec4adc in CMYK for printing?

cmyk(0%, 69%, 7%, 8%). This is a screen-to-ink approximation — a color this saturated sits outside most CMYK gamuts and will print duller than it looks here.

Is #ec4adc warm or cool?

Neutral — it scores 47 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC4AA1; nudged cooler, #C148EE.

Work with #ec4adc in the Color Lab