Recognised as Colour
#EC42D9
- #EC42D9
- Magenta
- Dark
- Nearest: Medium orchid
#EC42D9 is a magenta with RGB values 236, 66, 217 and HSL 307°, 82%, 59%. It is a dark colour, so black text on it reaches 6.3:1 contrast (AA for normal text). The nearest named colour is Medium orchid.
Colour values
#EC42D9#EC42D9
HEX#EC42D9
RGBrgb(236, 66, 217)
RGB (0–1)0.9255, 0.2588, 0.851
RGB percentages92.5%, 25.9%, 85.1%
HSLhsl(306.7, 81.7%, 59.2%)
HSV / HSBhsv(306.7, 72%, 92.5%)
CMYK0%, 72%, 8.1%, 7.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer15,483,609
CSS custom property--colour: #EC42D9;
Brightness & contrast
Relative luminance0.26739WCAG 2.x, 0 is black and 1 is white
Perceived brightness156.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.35:1
Contrast with white3.31:1WCAG normal text: Fail
Contrast with black6.35:1WCAG normal text: AA
Greyscale equivalent#717171
Inverted#13BD26
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.35:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42EC55
Analogous#AA42EC, #EC4284
Triadic#D9EC42, #42D9EC
Split complementary#84EC42, #42ECAA
Tetradic#ECAA42, #42EC55, #4284EC
Tints, shades & saturation
Channel breakdown
R236
G66
B217
Red236 (92.5%)
Green66 (25.9%)
Blue217 (85.1%)
Hue306.71°
Saturation (HSL)81.73%
Lightness59.22%
Dominant channelRed
Hex per channelR EC · G 42 · B D9
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