Skip to content

#ec5daf

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

RGB
236, 93, 175
HSL
326°, 79%, 65%
CMYK
0, 61, 26, 8
Luminance
0.2876

At a glance

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

Hex
#ec5daf
Hue
326°
magenta / pink
Saturation
79%
electric
Lightness
65%
balanced
Brightness
93%
HSV value
Perceived
62%
weighted brightness
Luminance
0.2876
WCAG relative
Temperature
Warm
36/100 cool
Color family
Magenta / pink
Tone
Electric
Best ink
Black
6.75:1
Closest name
Hot Pink
ΔE2000 4.6
Where it sits
Hue326° of 360°
Saturation79%
Lightness65%
Temperature
Warm ← → Cool36% 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#ec5daf
RGBrgb(236, 93, 175)
HSLhsl(326, 79%, 65%)
CMYKcmyk(0%, 61%, 26%, 8%)
LABlab(60.6 63.2 -15.5)
LCHlch(60.6 65.1 346.2)
OKLCHoklch(0.686 0.195 348.0)
Decimal15490479
Display P3color(display-p3 0.925 0.365 0.686)

Copy-ready code

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

Accessibility — WCAG contrast

Aa
#ec5daf on white: 3.11:1
AA ✗ fail · AA-large · AAA
Aa
#ec5daf on black: 6.75:1
AA ✓ pass · AA-large · AAA
true color
protanopia · #6E82B2
deuteranopia · #969BAC
tritanopia · #FB597E

Color scale — 50 to 950

A Tailwind-shaped ramp built around this exact hex. #ec5daf 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
#F9E6F1
#F5C7E1
#F39BCD
#ec5daf
#E7369C
#DB1A89
#B71572
#92115B
#6A1144
#420A2A
Base = 400Lightest = 50 · #FCF3F8Darkest = 950 · #420A2A
:root {
  --brand-50: #FCF3F8;
  --brand-100: #F9E6F1;
  --brand-200: #F5C7E1;
  --brand-300: #F39BCD;
  --brand-400: #ec5daf;
  --brand-500: #E7369C;
  --brand-600: #DB1A89;
  --brand-700: #B71572;
  --brand-800: #92115B;
  --brand-900: #6A1144;
  --brand-950: #420A2A;
  --brand: #ec5daf;
  --brand-ink: #000000;
}

Colors that work with #ec5daf

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#EDC0D9
Hairlines and dividers
Muted text#9B4B79
Captions on the surface
Accent#11BB2F
Second voice, not a rival
Dark variant#720D47
Hover, pressed, headers
Light variant#FCE8F4
Selected rows, tints
Dark surface#24141D
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 #ec5daf

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#5DEC9A
Analogous left#E25DEC
Analogous right#EC5D67
Split-complement 1#67EC5D
Split-complement 2#5DECE2
Triadic 1#AFEC5D
Triadic 2#5DAFEC
Tetradic#ECE25D

RGB percentages

Red92.5%
Green36.5%
Blue68.6%

CMYK percentages

Cyan0.0%
Magenta60.6%
Yellow25.8%
Key (black)7.5%

Color previews

#ec5daf text on a black background

contrast 6.75:1

Card sample

#ec5daf text on a white background

contrast 3.11:1

Card sample

CSS3 live lab

Text font color

The quick brown fox

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

Glowing headline

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

Soft neon halo

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

Monochromatic scale

Palettes built from #ec5daf

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.

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

#ec5daf, answered

What color is #ec5daf?

#ec5daf is a balanced electric magenta / pink, closest to Hot Pink (ΔE2000 4.6). It sits at 326° on the hue wheel with 79% saturation and 65% lightness, which reads as warm.

What is the RGB value of #ec5daf?

rgb(236, 93, 175) — 236 red, 93 green and 175 blue out of 255, or 92.5% / 36.5% / 68.6% by channel.

Is #ec5daf a light or a dark color?

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

Should I use black or white text on #ec5daf?

Black. It scores 6.75:1 against #ec5daf, versus 3.11:1 for white — AA at any size.

What is the complementary color of #ec5daf?

#5DEC9A sits directly opposite on the wheel. Softer options are the split-complements #67EC5D and #5DECE2, which give the same contrast with far less vibration.

What colors go well with #ec5daf?

For interface work: #FAF4F8 as the surface, #EDC0D9 for borders, #9B4B79 for secondary text, #11BB2F as an accent and #720D47 for hover and pressed states. For a palette, the analogous pair #E25DEC and #EC5D67 stays calm, while #5DEC9A is the loudest partner.

What is #ec5daf in CMYK for printing?

cmyk(0%, 61%, 26%, 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 #ec5daf warm or cool?

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

Work with #ec5daf in the Color Lab