Skip to content

#ec70ba

a light, electric magenta / pink · warm · closest name: Hot Pink

RGB
236, 112, 186
HSL
324°, 77%, 68%
CMYK
0, 53, 21, 8
Luminance
0.3297

At a glance

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

Hex
#ec70ba
Hue
324°
magenta / pink
Saturation
77%
electric
Lightness
68%
light
Brightness
93%
HSV value
Perceived
66%
weighted brightness
Luminance
0.3297
WCAG relative
Temperature
Warm
37/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
7.59:1
Closest name
Hot Pink
ΔE2000 3.8
Where it sits
Hue324° of 360°
Saturation77%
Lightness68%
Temperature
Warm ← → Cool37% 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#ec70ba
RGBrgb(236, 112, 186)
HSLhsl(324, 77%, 68%)
CMYKcmyk(0%, 53%, 21%, 8%)
LABlab(64.1 56.2 -16.4)
LCHlch(64.1 58.5 343.8)
OKLCHoklch(0.714 0.174 345.6)
Decimal15495354
Display P3color(display-p3 0.925 0.439 0.729)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec70ba on white: 2.77:1
AA ✗ fail · AA-large · AAA
Aa
#ec70ba on black: 7.59:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #7B8EBC
deuteranopia · #9DA3B7
tritanopia · #FA6F8D

Color scale — 50 to 950

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

#FCF3F8
#F9E7F1
#F4C8E2
#F29CCF
#ec70ba
#E5399F
#D81D8D
#B41875
#90135E
#681246
#410B2B
Base = 400Lightest = 50 · #FCF3F8Darkest = 950 · #410B2B
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F9E7F1;
  --brand-200: #F4C8E2;
  --brand-300: #F29CCF;
  --brand-400: #ec70ba;
  --brand-500: #E5399F;
  --brand-600: #D81D8D;
  --brand-700: #B41875;
  --brand-800: #90135E;
  --brand-900: #681246;
  --brand-950: #410B2B;
  --brand: #ec70ba;
  --brand-ink: #000000;
}

Colors that work with #ec70ba

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#FAF4F8
Tinted page background
Border#EDC0DB
Hairlines and dividers
Muted text#9B4B7B
Captions on the surface
Accent#14B82D
Second voice, not a rival
Dark variant#710F49
Hover, pressed, headers
Light variant#FCE8F4
Selected rows, tints
Dark surface#24141E
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 #ec70ba

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
  • Card and section backgrounds
  • 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
  • White text placed on it
  • 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#70ECA2
Analogous left#E070EC
Analogous right#EC707C
Split-complement 1#7CEC70
Split-complement 2#70ECE0
Triadic 1#BAEC70
Triadic 2#70BAEC
Tetradic#ECE070

RGB percentages

Red92.5%
Green43.9%
Blue72.9%

CMYK percentages

Cyan0.0%
Magenta52.5%
Yellow21.2%
Key (black)7.5%

Color previews

#ec70ba text on a black background

contrast 7.59:1

Card sample

#ec70ba text on a white background

contrast 2.77:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec70ba

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.

#ec70ba 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
SurfacesBadgesHighlightsEmpty states
Print note

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

#ec70ba, answered

What color is #ec70ba?

#ec70ba is a light electric magenta / pink, closest to Hot Pink (ΔE2000 3.8). It sits at 324° on the hue wheel with 77% saturation and 68% lightness, which reads as warm.

What is the RGB value of #ec70ba?

rgb(236, 112, 186) — 236 red, 112 green and 186 blue out of 255, or 92.5% / 43.9% / 72.9% by channel.

Is #ec70ba a light or a dark color?

It is a mid-tone. Relative luminance is 0.3297 and perceived brightness is 66%, so black text on it reaches 7.59:1.

Should I use black or white text on #ec70ba?

Black. It scores 7.59:1 against #ec70ba, versus 2.77:1 for white — AAA at any size.

What is the complementary color of #ec70ba?

#70ECA2 sits directly opposite on the wheel. Softer options are the split-complements #7CEC70 and #70ECE0, which give the same contrast with far less vibration.

What colors go well with #ec70ba?

For interface work: #FAF4F8 as the surface, #EDC0DB for borders, #9B4B7B for secondary text, #14B82D as an accent and #710F49 for hover and pressed states. For a palette, the analogous pair #E070EC and #EC707C stays calm, while #70ECA2 is the loudest partner.

What is #ec70ba in CMYK for printing?

cmyk(0%, 53%, 21%, 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 #ec70ba warm or cool?

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

Work with #ec70ba in the Color Lab