#ec5daf
a balanced, electric magenta / pink · warm · closest name: Hot Pink
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.
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 |
| RGB | rgb(236, 93, 175) |
| HSL | hsl(326, 79%, 65%) |
| CMYK | cmyk(0%, 61%, 26%, 8%) |
| LAB | lab(60.6 63.2 -15.5) |
| LCH | lch(60.6 65.1 346.2) |
| OKLCH | oklch(0.686 0.195 348.0) |
| Decimal | 15490479 |
| Display P3 | color(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.
Accessibility — WCAG contrast
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.
: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.
Surface, border, heading and body all derive from this one hue, so the screen stays coherent without a second palette.
Lightness flips, hue holds. The accent stays the anchor in both themes.
How to use #ec5daf
Derived from its contrast, chroma and lightness — not from taste.
- ✓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
- ⚠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 | Directly opposite — maximum tension | |
| Analogous left | #E25DEC | Neighbour, quieter | |
| Analogous right | #EC5D67 | Neighbour, quieter | |
| Split-complement 1 | #67EC5D | Contrast without the clash | |
| Split-complement 2 | #5DECE2 | Contrast without the clash | |
| Triadic 1 | #AFEC5D | Even thirds — balanced and loud | |
| Triadic 2 | #5DAFEC | Even thirds — balanced and loud | |
| Tetradic | #ECE25D | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ec5daf text on a black background
contrast 6.75:1
#ec5daf text on a white background
contrast 3.11:1
CSS3 live lab
The quick brown fox
color: #ec5daf;
background-color: #ec5daf;
Glowing headline
text-shadow: 2px 2px 8px #ec5daf;
Soft neon halo
text-shadow: 0 0 14px rgba(236, 93, 175, 0.45);
box-shadow: 0 12px 32px -8px rgba(236, 93, 175, 0.45);
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.
Closest color with a full write-up: Hot Pink (#ff69b4) — ΔE2000 4.6 away, with its history, psychology and brand usage.
#ec5daf in the real world
Where a color in this family tends to land, and the interface roles it is usually asked to play.
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.