Recognised as Colour
#D702AB
- #D702AB
- Magenta
- Dark
- Nearest: Medium violet red
#D702AB is a magenta with RGB values 215, 2, 171 and HSL 312°, 98%, 43%. It is a dark colour, so white text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D702AB#D702AB
HEX#D702AB
RGBrgb(215, 2, 171)
RGB (0–1)0.8431, 0.0078, 0.6706
RGB percentages84.3%, 0.8%, 67.1%
HSLhsl(312.4, 98.2%, 42.5%)
HSV / HSBhsv(312.4, 99.1%, 84.3%)
CMYK0%, 99.1%, 20.5%, 15.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,090,923
CSS custom property--colour: #D702AB;
Brightness & contrast
Relative luminance0.17431WCAG 2.x, 0 is black and 1 is white
Perceived brightness131 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 4.68:1
Contrast with white4.68:1WCAG normal text: AA
Contrast with black4.49:1WCAG normal text: Fail
Greyscale equivalent#3B3B3B
Inverted#28FD54
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.68:1WCAG large text: AAA
Contrast with black, large text4.49:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02D72E
Analogous#9902D7, #D70240
Triadic#ABD702, #02ABD7
Split complementary#40D702, #02D798
Tetradic#D79902, #02D72E, #0241D7
Tints, shades & saturation
Channel breakdown
R215
G2
B171
Red215 (84.3%)
Green2 (0.8%)
Blue171 (67.1%)
Hue312.39°
Saturation (HSL)98.16%
Lightness42.55%
Dominant channelRed
Hex per channelR D7 · G 02 · B AB
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Nerdulate something else
Nothing in mind? Surprise me · today’s page