Recognised as Colour
#EA40AC
- #EA40AC
- Magenta
- Dark
- Nearest: Medium violet red
#EA40AC is a magenta with RGB values 234, 64, 172 and HSL 322°, 80%, 58%. It is a dark colour, so black text on it reaches 5.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#EA40AC#EA40AC
HEX#EA40AC
RGBrgb(234, 64, 172)
RGB (0–1)0.9176, 0.251, 0.6745
RGB percentages91.8%, 25.1%, 67.5%
HSLhsl(321.9, 80.2%, 58.4%)
HSV / HSBhsv(321.9, 72.6%, 91.8%)
CMYK0%, 72.6%, 26.5%, 8.2%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer15,351,980
CSS custom property--colour: #EA40AC;
Brightness & contrast
Relative luminance0.24138WCAG 2.x, 0 is black and 1 is white
Perceived brightness148.8 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.83:1
Contrast with white3.6:1WCAG normal text: Fail
Contrast with black5.83:1WCAG normal text: AA
Greyscale equivalent#6C6C6C
Inverted#15BF53
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.6:1WCAG large text: AA
Contrast with black, large text5.83:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#40EA7E
Analogous#D340EA, #EA4057
Triadic#ACEA40, #40ACEA
Split complementary#57EA40, #40EAD3
Tetradic#EAD340, #40EA7E, #4057EA
Tints, shades & saturation
Channel breakdown
R234
G64
B172
Red234 (91.8%)
Green64 (25.1%)
Blue172 (67.5%)
Hue321.88°
Saturation (HSL)80.19%
Lightness58.43%
Dominant channelRed
Hex per channelR EA · G 40 · 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