#ed2cd4
a balanced, electric magenta / pink · neutral · closest name: Magenta
At a glance
Every number on this page in one read: what #ed2cd4 is made of, how bright it looks, and which way it leans.
Reads neutral. Warm and cool siblings keep the same lightness, so you can swap one in without redoing your contrast maths.
Every format
| HEX | #ed2cd4 |
| RGB | rgb(237, 44, 212) |
| HSL | hsl(308, 84%, 55%) |
| CMYK | cmyk(0%, 81%, 11%, 7%) |
| LAB | lab(56.6 84.2 -42.7) |
| LCH | lch(56.6 94.4 333.1) |
| OKLCH | oklch(0.663 0.272 334.5) |
| Decimal | 15543508 |
| Display P3 | color(display-p3 0.929 0.173 0.831) |
Copy-ready code
/* CSS */
color: #ed2cd4;
background-color: #ed2cd4;
/* Tailwind (arbitrary) */
class="text-[#ed2cd4] bg-[#ed2cd4]"
/* SCSS */
$brand: #ed2cd4;
/* SwiftUI */
Color(red: 0.929, green: 0.173, blue: 0.831)
/* Android */
Color.parseColor("#ed2cd4")
/* Flutter */
Color(0xFFED2CD4)
/* Python / OpenCV (BGR) */
(212, 44, 237)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. #ed2cd4 is pinned to step 500; the rest hold its hue and let saturation ease off at the extremes so the pale end never turns neon.
:root {
--brand-50: #FCF2FB;
--brand-100: #FAE6F7;
--brand-200: #F6C5F0;
--brand-300: #F698EA;
--brand-400: #F264DF;
--brand-500: #ed2cd4;
--brand-600: #E213C7;
--brand-700: #BC10A6;
--brand-800: #960D85;
--brand-900: #6D0E60;
--brand-950: #44093C;
--brand: #ed2cd4;
--brand-ink: #000000;
}Colors that work with #ed2cd4
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 #ed2cd4
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 | #2CED45 | Directly opposite — maximum tension | |
| Analogous left | #A62CED | Neighbour, quieter | |
| Analogous right | #ED2C73 | Neighbour, quieter | |
| Split-complement 1 | #73ED2C | Contrast without the clash | |
| Split-complement 2 | #2CEDA6 | Contrast without the clash | |
| Triadic 1 | #D4ED2C | Even thirds — balanced and loud | |
| Triadic 2 | #2CD4ED | Even thirds — balanced and loud | |
| Tetradic | #EDA62C | Fourth corner of the square scheme |
RGB percentages
CMYK percentages
Color previews
#ed2cd4 text on a black background
contrast 5.91:1
#ed2cd4 text on a white background
contrast 3.55:1
CSS3 live lab
The quick brown fox
color: #ed2cd4;
background-color: #ed2cd4;
Glowing headline
text-shadow: 2px 2px 8px #ed2cd4;
Soft neon halo
text-shadow: 0 0 14px rgba(237, 44, 212, 0.45);
box-shadow: 0 12px 32px -8px rgba(237, 44, 212, 0.45);
border: 3px solid #ed2cd4; background: linear-gradient(135deg, #ed2cd4, #ED2C53);
Monochromatic scale
Palettes built from #ed2cd4
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: Magenta (#ff00ff) — ΔE2000 5.8 away, with its history, psychology and brand usage.
#ed2cd4 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.
#ed2cd4, answered
What color is #ed2cd4?
#ed2cd4 is a balanced electric magenta / pink, closest to Magenta (ΔE2000 5.8). It sits at 308° on the hue wheel with 84% saturation and 55% lightness, which reads as neutral.
What is the RGB value of #ed2cd4?
rgb(237, 44, 212) — 237 red, 44 green and 212 blue out of 255, or 92.9% / 17.3% / 83.1% by channel.
Is #ed2cd4 a light or a dark color?
It is a mid-tone. Relative luminance is 0.2456 and perceived brightness is 60%, so black text on it reaches 5.91:1.
Should I use black or white text on #ed2cd4?
Black. It scores 5.91:1 against #ed2cd4, versus 3.55:1 for white — AA at any size.
What is the complementary color of #ed2cd4?
#2CED45 sits directly opposite on the wheel. Softer options are the split-complements #73ED2C and #2CEDA6, which give the same contrast with far less vibration.
What colors go well with #ed2cd4?
For interface work: #FAF4FA as the surface, #EDC0E7 for borders, #9B4B90 for secondary text, #22C00C as an accent and #750A68 for hover and pressed states. For a palette, the analogous pair #A62CED and #ED2C73 stays calm, while #2CED45 is the loudest partner.
What is #ed2cd4 in CMYK for printing?
cmyk(0%, 81%, 11%, 7%). 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 #ed2cd4 warm or cool?
Neutral — it scores 46 on a scale where 0 is the warmest orange and 100 the coolest azure. Nudged warmer it becomes #ED2C8D; nudged cooler, #C12AEF.