Recognised as Colour
#D728A2
- #D728A2
- Magenta
- Dark
- Nearest: Medium violet red
#D728A2 is a magenta with RGB values 215, 40, 162 and HSL 318°, 69%, 50%. It is a dark colour, so black text on it reaches 4.7:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D728A2#D728A2
HEX#D728A2
RGBrgb(215, 40, 162)
RGB (0–1)0.8431, 0.1569, 0.6353
RGB percentages84.3%, 15.7%, 63.5%
HSLhsl(318.2, 68.6%, 50%)
HSV / HSBhsv(318.2, 81.4%, 84.3%)
CMYK0%, 81.4%, 24.7%, 15.7%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer14,100,642
CSS custom property--colour: #D728A2;
Brightness & contrast
Relative luminance0.18573WCAG 2.x, 0 is black and 1 is white
Perceived brightness133.2 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.71:1
Contrast with white4.45:1WCAG normal text: Fail
Contrast with black4.71:1WCAG normal text: AA
Greyscale equivalent#565656
Inverted#28D75D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.45:1WCAG large text: AA
Contrast with black, large text4.71:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#28D75D
Analogous#B528D7, #D7284A
Triadic#A2D728, #28A2D7
Split complementary#4AD728, #28D7B5
Tetradic#D7B528, #28D75D, #284AD7
Tints, shades & saturation
Channel breakdown
R215
G40
B162
Red215 (84.3%)
Green40 (15.7%)
Blue162 (63.5%)
Hue318.17°
Saturation (HSL)68.63%
Lightness50%
Dominant channelRed
Hex per channelR D7 · G 28 · B A2
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