Recognised as Colour
#ED42B2
- #ED42B2
- Magenta
- Dark
- Nearest: Medium violet red
#ED42B2 is a magenta with RGB values 237, 66, 178 and HSL 321°, 83%, 59%. It is a dark colour, so black text on it reaches 6:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#ED42B2#ED42B2
HEX#ED42B2
RGBrgb(237, 66, 178)
RGB (0–1)0.9294, 0.2588, 0.698
RGB percentages92.9%, 25.9%, 69.8%
HSLhsl(320.7, 82.6%, 59.4%)
HSV / HSBhsv(320.7, 72.2%, 92.9%)
CMYK0%, 72.2%, 24.9%, 7.1%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer15,549,106
CSS custom property--colour: #ED42B2;
Brightness & contrast
Relative luminance0.25115WCAG 2.x, 0 is black and 1 is white
Perceived brightness151.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 6.02:1
Contrast with white3.49:1WCAG normal text: Fail
Contrast with black6.02:1WCAG normal text: AA
Greyscale equivalent#6E6E6E
Inverted#12BD4D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.49:1WCAG large text: AA
Contrast with black, large text6.02:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42ED7D
Analogous#D342ED, #ED425C
Triadic#B2ED42, #42B2ED
Split complementary#5CED42, #42EDD3
Tetradic#EDD342, #42ED7D, #425CED
Tints, shades & saturation
Channel breakdown
R237
G66
B178
Red237 (92.9%)
Green66 (25.9%)
Blue178 (69.8%)
Hue320.7°
Saturation (HSL)82.61%
Lightness59.41%
Dominant channelRed
Hex per channelR ED · G 42 · B B2
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