Recognised as Colour
#DE42B2
- #DE42B2
- Magenta
- Dark
- Nearest: Medium violet red
#DE42B2 is a magenta with RGB values 222, 66, 178 and HSL 317°, 70%, 56%. It is a dark colour, so black text on it reaches 5.5:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#DE42B2#DE42B2
HEX#DE42B2
RGBrgb(222, 66, 178)
RGB (0–1)0.8706, 0.2588, 0.698
RGB percentages87.1%, 25.9%, 69.8%
HSLhsl(316.9, 70.3%, 56.5%)
HSV / HSBhsv(316.9, 70.3%, 87.1%)
CMYK0%, 70.3%, 19.8%, 12.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,566,066
CSS custom property--colour: #DE42B2;
Brightness & contrast
Relative luminance0.2264WCAG 2.x, 0 is black and 1 is white
Perceived brightness144.6 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.53:1
Contrast with white3.8:1WCAG normal text: Fail
Contrast with black5.53:1WCAG normal text: AA
Greyscale equivalent#6B6B6B
Inverted#21BD4D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.8:1WCAG large text: AA
Contrast with black, large text5.53:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#42DE6E
Analogous#BC42DE, #DE4264
Triadic#B2DE42, #42B2DE
Split complementary#64DE42, #42DEBC
Tetradic#DEBC42, #42DE6E, #4264DE
Tints, shades & saturation
Channel breakdown
R222
G66
B178
Red222 (87.1%)
Green66 (25.9%)
Blue178 (69.8%)
Hue316.92°
Saturation (HSL)70.27%
Lightness56.47%
Dominant channelRed
Hex per channelR DE · 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