Skip to content

#ec4abc

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

RGB
236, 74, 188
HSL
318°, 81%, 61%
CMYK
0, 69, 20, 8
Luminance
0.2636

At a glance

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

Hex
#ec4abc
Hue
318°
magenta / pink
Saturation
81%
electric
Lightness
61%
balanced
Brightness
93%
HSV value
Perceived
61%
weighted brightness
Luminance
0.2636
WCAG relative
Temperature
Warm
40/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.27:1
Closest name
Orchid
ΔE2000 7.7
Where it sits
Hue318° of 360°
Saturation81%
Lightness61%
Temperature
Warm ← → Cool40% cool

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

Every format

HEX#ec4abc
RGBrgb(236, 74, 188)
HSLhsl(318, 81%, 61%)
CMYKcmyk(0%, 69%, 20%, 8%)
LABlab(58.4 72.3 -26.3)
LCHlch(58.4 76.9 340.0)
OKLCHoklch(0.671 0.228 342.0)
Decimal15485628
Display P3color(display-p3 0.925 0.290 0.737)

Copy-ready code

/* CSS */
color: #ec4abc;
background-color: #ec4abc;
/* Tailwind (arbitrary) */
class="text-[#ec4abc] bg-[#ec4abc]"
/* SCSS */
$brand: #ec4abc;
/* SwiftUI */
Color(red: 0.925, green: 0.290, blue: 0.737)
/* Android */
Color.parseColor("#ec4abc")
/* Flutter */
Color(0xFFEC4ABC)
/* Python / OpenCV (BGR) */
(188, 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 #ec4abc · 6.27:1
Use #000000AA at every size, AAA for large text only.
Aa
White text · 3.35:1
AA fail · AA large pass · AAA fail
Aa
Black text · 6.27:1 · recommended
AA pass · AA large pass · AAA fail
Reading the other direction: #ec4abc as text scores 3.35:1 on white and 6.27:1 on black.

Accessibility — WCAG contrast

Aa
#ec4abc on white: 3.35:1
AA ✗ fail · AA-large · AAA
Aa
#ec4abc on black: 6.27:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #587BBF
deuteranopia · #8A96B8
tritanopia · #FA4C7D

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec4abc 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.

#FCF3F9
#F9E6F4
#F5C6E7
#F499D9
#EF67C7
#ec4abc
#DE17A3
#B91388
#94106C
#6B1050
#430A32
Base = 500Lightest = 50 · #FCF3F9Darkest = 950 · #430A32
:root {
  --brand-50: #FCF3F9;
  --brand-100: #F9E6F4;
  --brand-200: #F5C6E7;
  --brand-300: #F499D9;
  --brand-400: #EF67C7;
  --brand-500: #ec4abc;
  --brand-600: #DE17A3;
  --brand-700: #B91388;
  --brand-800: #94106C;
  --brand-900: #6B1050;
  --brand-950: #430A32;
  --brand: #ec4abc;
  --brand-ink: #000000;
}

Colors that work with #ec4abc

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#FAF4F9
Tinted page background
Border#EDC0DF
Hairlines and dividers
Muted text#9B4B83
Captions on the surface
Accent#0FBD17
Second voice, not a rival
Dark variant#730C55
Hover, pressed, headers
Light variant#FDE8F6
Selected rows, tints
Dark surface#24141F
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 #ec4abc

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#4AEC7A
Analogous left#CB4AEC
Analogous right#EC4A6B
Split-complement 1#6BEC4A
Split-complement 2#4AECCB
Triadic 1#BCEC4A
Triadic 2#4ABCEC
Tetradic#ECCB4A

RGB percentages

Red92.5%
Green29.0%
Blue73.7%

CMYK percentages

Cyan0.0%
Magenta68.6%
Yellow20.3%
Key (black)7.5%

Color previews

#ec4abc text on a black background

contrast 6.27:1

Card sample

#ec4abc text on a white background

contrast 3.35:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec4abc

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.

#ec4abc 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.

#ec4abc, answered

What color is #ec4abc?

#ec4abc is a balanced electric magenta / pink, closest to Orchid (ΔE2000 7.7). It sits at 318° on the hue wheel with 81% saturation and 61% lightness, which reads as warm.

What is the RGB value of #ec4abc?

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

Is #ec4abc a light or a dark color?

It is a mid-tone. Relative luminance is 0.2636 and perceived brightness is 61%, so black text on it reaches 6.27:1.

Should I use black or white text on #ec4abc?

Black. It scores 6.27:1 against #ec4abc, versus 3.35:1 for white — AA at any size.

What is the complementary color of #ec4abc?

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

What colors go well with #ec4abc?

For interface work: #FAF4F9 as the surface, #EDC0DF for borders, #9B4B83 for secondary text, #0FBD17 as an accent and #730C55 for hover and pressed states. For a palette, the analogous pair #CB4AEC and #EC4A6B stays calm, while #4AEC7A is the loudest partner.

What is #ec4abc in CMYK for printing?

cmyk(0%, 69%, 20%, 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 #ec4abc warm or cool?

Warm — it scores 40 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #EC4A81; nudged cooler, #E248EE.

Work with #ec4abc in the Color Lab