Recognised as Colour
#EC51AC
- #EC51AC
- Magenta
- Dark
- Nearest: Hot pink
#EC51AC is a magenta with RGB values 236, 81, 172 and HSL 325°, 80%, 62%. It is a dark colour, so black text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Hot pink.
Colour values
#EC51AC#EC51AC
HEX#EC51AC
RGBrgb(236, 81, 172)
RGB (0–1)0.9255, 0.3176, 0.6745
RGB percentages92.5%, 31.8%, 67.5%
HSLhsl(324.8, 80.3%, 62.2%)
HSV / HSBhsv(324.8, 65.7%, 92.5%)
CMYK0%, 65.7%, 27.1%, 7.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer15,487,404
CSS custom property--colour: #EC51AC;
Brightness & contrast
Relative luminance0.26696WCAG 2.x, 0 is black and 1 is white
Perceived brightness154.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.34:1
Contrast with white3.31:1WCAG normal text: Fail
Contrast with black6.34:1WCAG normal text: AA
Greyscale equivalent#797979
Inverted#13AE53
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.31:1WCAG large text: AA
Contrast with black, large text6.34:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#51EC91
Analogous#DE51EC, #EC515F
Triadic#ACEC51, #51ACEC
Split complementary#5FEC51, #51ECDE
Tetradic#ECDE51, #51EC91, #515FEC
Tints, shades & saturation
Channel breakdown
R236
G81
B172
Red236 (92.5%)
Green81 (31.8%)
Blue172 (67.5%)
Hue324.77°
Saturation (HSL)80.31%
Lightness62.16%
Dominant channelRed
Hex per channelR EC · G 51 · B AC
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Nerdulate something else
Nothing in mind? Surprise me · today’s page