Skip to content

#ec5fcf

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

RGB
236, 95, 207
HSL
312°, 79%, 65%
CMYK
0, 60, 12, 8
Luminance
0.3052

At a glance

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

Hex
#ec5fcf
Hue
312°
magenta / pink
Saturation
79%
electric
Lightness
65%
balanced
Brightness
93%
HSV value
Perceived
64%
weighted brightness
Luminance
0.3052
WCAG relative
Temperature
Neutral
43/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.10:1
Closest name
Orchid
ΔE2000 4.1
Where it sits
Hue312° of 360°
Saturation79%
Lightness65%
Temperature
Warm ← → Cool43% 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#ec5fcf
RGBrgb(236, 95, 207)
HSLhsl(312, 79%, 65%)
CMYKcmyk(0%, 60%, 12%, 8%)
LABlab(62.1 66.8 -31.4)
LCHlch(62.1 73.8 334.9)
OKLCHoklch(0.701 0.213 336.5)
Decimal15491023
Display P3color(display-p3 0.925 0.373 0.812)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec5fcf on white: 2.96:1
AA ✗ fail · AA-large · AAA
Aa
#ec5fcf on black: 7.10:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6188D2
deuteranopia · #8D9ECB
tritanopia · #F7668F

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec5fcf 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
#F5C7EB
#F39BE1
#ec5fcf
#E736C3
#DB1AB3
#B61695
#921178
#6A1157
#420B37
Base = 400Lightest = 50 · #FCF3FADarkest = 950 · #420B37
:root {
  --brand-50: #FCF3FA;
  --brand-100: #F9E6F5;
  --brand-200: #F5C7EB;
  --brand-300: #F39BE1;
  --brand-400: #ec5fcf;
  --brand-500: #E736C3;
  --brand-600: #DB1AB3;
  --brand-700: #B61695;
  --brand-800: #921178;
  --brand-900: #6A1157;
  --brand-950: #420B37;
  --brand: #ec5fcf;
  --brand-ink: #000000;
}

Colors that work with #ec5fcf

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#EDC0E3
Hairlines and dividers
Muted text#9B4B8A
Captions on the surface
Accent#19BB11
Second voice, not a rival
Dark variant#720E5D
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 #ec5fcf

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#5FEC7C
Analogous left#C25FEC
Analogous right#EC5F89
Split-complement 1#89EC5F
Split-complement 2#5FECC2
Triadic 1#CFEC5F
Triadic 2#5FCFEC
Tetradic#ECC25F

RGB percentages

Red92.5%
Green37.3%
Blue81.2%

CMYK percentages

Cyan0.0%
Magenta59.7%
Yellow12.3%
Key (black)7.5%

Color previews

#ec5fcf text on a black background

contrast 7.10:1

Card sample

#ec5fcf text on a white background

contrast 2.96:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec5fcf

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.

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

#ec5fcf, answered

What color is #ec5fcf?

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

What is the RGB value of #ec5fcf?

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

Is #ec5fcf a light or a dark color?

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

Should I use black or white text on #ec5fcf?

Black. It scores 7.10:1 against #ec5fcf, versus 2.96:1 for white — AAA at any size.

What is the complementary color of #ec5fcf?

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

What colors go well with #ec5fcf?

For interface work: #FAF4F9 as the surface, #EDC0E3 for borders, #9B4B8A for secondary text, #19BB11 as an accent and #720E5D for hover and pressed states. For a palette, the analogous pair #C25FEC and #EC5F89 stays calm, while #5FEC7C is the loudest partner.

What is #ec5fcf in CMYK for printing?

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

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

Work with #ec5fcf in the Color Lab