#EC4899 color
#EC4899 is a light, vivid magenta, closest to the CSS named color hotpink (#FF69B4).
Color values
| HEX | #EC4899 |
| RGB | rgb(236, 72, 153) |
| HSL | hsl(330, 81%, 60%) |
| CMYK | cmyk(0%, 69%, 35%, 7%) |
| Decimal | 15485081 |
| CSS | color: #EC4899; |
| Android | 0xFFEC4899 |
| Swift | UIColor(red: 0.925, green: 0.282, blue: 0.600, alpha: 1) |
Accessibility and contrast
| White text on #EC4899 | 3.53:1 — AA fail · AA large pass · AAA fail |
| Black text on #EC4899 | 5.95:1 — AA pass · AA large pass · AAA fail |
| Recommended text color | black |
WCAG 2.1 asks for at least 4.5:1 for body text and 3:1 for large text (18 pt, or 14 pt bold).
Tints and shades of #EC4899
Each swatch keeps the hue and saturation of #EC4899 and varies only lightness — the quickest way to build a usable scale from a single brand color.
Colors that go with #EC4899
Harmonies generated by rotating the hue on the color wheel while holding saturation and lightness constant.
Using #EC4899 in code
/* CSS */
.element { color: #EC4899; background-color: #EC4899; }
.element { color: rgb(236 72 153); }
.element { color: hsl(330 81% 60%); }
/* Tailwind arbitrary value */
<div class="bg-[#EC4899] text-black">
/* SCSS variable */
$brand: #EC4899;
Frequently asked questions
What color is #EC4899?
#EC4899 is a light, vivid magenta. Its hue sits at 330° on the color wheel, with 81% saturation and 60% lightness.
What is #EC4899 in RGB?
#EC4899 converts to rgb(236, 72, 153) — 236 red, 72 green and 153 blue.
What is #EC4899 in CMYK?
Approximately cmyk(0%, 69%, 35%, 7%). Print output depends on the ICC profile of the press and paper, so treat this as a starting point rather than an exact match.
Should text on #EC4899 be white or black?
Black gives the better contrast ratio (5.95:1 versus 3.53:1).
What is the complementary color of #EC4899?
#46EC99 — the hue directly opposite #EC4899 on the color wheel.