Skip to content

#ec5fcc

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

RGB
236, 95, 204
HSL
314°, 79%, 65%
CMYK
0, 60, 14, 8
Luminance
0.3038

At a glance

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

Hex
#ec5fcc
Hue
314°
magenta / pink
Saturation
79%
electric
Lightness
65%
balanced
Brightness
93%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3038
WCAG relative
Temperature
Neutral
42/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.08:1
Closest name
Orchid
ΔE2000 4.4
Where it sits
Hue314° of 360°
Saturation79%
Lightness65%
Temperature
Warm ← → Cool42% 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#ec5fcc
RGBrgb(236, 95, 204)
HSLhsl(314, 79%, 65%)
CMYKcmyk(0%, 60%, 14%, 8%)
LABlab(62.0 66.4 -29.9)
LCHlch(62.0 72.8 335.8)
OKLCHoklch(0.700 0.211 337.5)
Decimal15491020
Display P3color(display-p3 0.925 0.373 0.800)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec5fcc on white: 2.97:1
AA ✗ fail · AA-large · AAA
Aa
#ec5fcc on black: 7.08:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6388CF
deuteranopia · #8E9EC8
tritanopia · #F8658D

Color scale — 50 to 950

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

#FCF3FA
#F9E6F5
#F5C7EA
#F39BDF
#ec5fcc
#E736BF
#DB1AAF
#B61692
#921175
#6A1155
#420B35
Base = 400Lightest = 50 · #FCF3FADarkest = 950 · #420B35
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F9E6F5;
  --brand-200: #F5C7EA;
  --brand-300: #F39BDF;
  --brand-400: #ec5fcc;
  --brand-500: #E736BF;
  --brand-600: #DB1AAF;
  --brand-700: #B61692;
  --brand-800: #921175;
  --brand-900: #6A1155;
  --brand-950: #420B35;
  --brand: #ec5fcc;
  --brand-ink: #000000;
}

Colors that work with #ec5fcc

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#EDC0E2
Hairlines and dividers
Muted text#9B4B89
Captions on the surface
Accent#16BB11
Second voice, not a rival
Dark variant#720E5B
Hover, pressed, headers
Light variant#FCE8F8
Selected rows, tints
Dark surface#241421
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 #ec5fcc

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

Works well for
  • 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
  • Text of any size on white — fails WCAG AA
  • 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#5FEC7F
Analogous left#C55FEC
Analogous right#EC5F86
Split-complement 1#86EC5F
Split-complement 2#5FECC5
Triadic 1#CCEC5F
Triadic 2#5FCCEC
Tetradic#ECC55F

RGB percentages

Red92.5%
Green37.3%
Blue80.0%

CMYK percentages

Cyan0.0%
Magenta59.7%
Yellow13.6%
Key (black)7.5%

Color previews

#ec5fcc text on a black background

contrast 7.08:1

Card sample

#ec5fcc text on a white background

contrast 2.97:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec5fcc

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.

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

#ec5fcc, answered

What color is #ec5fcc?

#ec5fcc is a balanced electric magenta / pink, closest to Orchid (ΔE2000 4.4). It sits at 314° on the hue wheel with 79% saturation and 65% lightness, which reads as neutral.

What is the RGB value of #ec5fcc?

rgb(236, 95, 204) — 236 red, 95 green and 204 blue out of 255, or 92.5% / 37.3% / 80% by channel.

Is #ec5fcc a light or a dark color?

It is a mid-tone. Relative luminance is 0.3038 and perceived brightness is 64%, so black text on it reaches 7.08:1.

Should I use black or white text on #ec5fcc?

Black. It scores 7.08:1 against #ec5fcc, versus 2.97:1 for white — AAA at any size.

What is the complementary color of #ec5fcc?

#5FEC7F sits directly opposite on the wheel. Softer options are the split-complements #86EC5F and #5FECC5, which give the same contrast with far less vibration.

What colors go well with #ec5fcc?

For interface work: #FAF4F9 as the surface, #EDC0E2 for borders, #9B4B89 for secondary text, #16BB11 as an accent and #720E5B for hover and pressed states. For a palette, the analogous pair #C55FEC and #EC5F86 stays calm, while #5FEC7F is the loudest partner.

What is #ec5fcc in CMYK for printing?

cmyk(0%, 60%, 14%, 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 #ec5fcc warm or cool?

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

Work with #ec5fcc in the Color Lab