Recognised as Colour
#D52BAB
- #D52BAB
- Magenta
- Dark
- Nearest: Medium violet red
#D52BAB is a magenta with RGB values 213, 43, 171 and HSL 315°, 67%, 50%. It is a dark colour, so black text on it reaches 4.8:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#D52BAB#D52BAB
HEX#D52BAB
RGBrgb(213, 43, 171)
RGB (0–1)0.8353, 0.1686, 0.6706
RGB percentages83.5%, 16.9%, 67.1%
HSLhsl(314.8, 66.9%, 50.2%)
HSV / HSBhsv(314.8, 79.8%, 83.5%)
CMYK0%, 79.8%, 19.7%, 16.5%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,970,347
CSS custom property--colour: #D52BAB;
Brightness & contrast
Relative luminance0.18814WCAG 2.x, 0 is black and 1 is white
Perceived brightness134.1 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 4.76:1
Contrast with white4.41:1WCAG normal text: Fail
Contrast with black4.76:1WCAG normal text: AA
Greyscale equivalent#585858
Inverted#2AD454
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text4.41:1WCAG large text: AA
Contrast with black, large text4.76:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2BD555
Analogous#AA2BD5, #D52B56
Triadic#ABD52B, #2BABD5
Split complementary#56D52B, #2BD5AA
Tetradic#D5AA2B, #2BD555, #2B56D5
Tints, shades & saturation
Channel breakdown
R213
G43
B171
Red213 (83.5%)
Green43 (16.9%)
Blue171 (67.1%)
Hue314.82°
Saturation (HSL)66.93%
Lightness50.2%
Dominant channelRed
Hex per channelR D5 · G 2B · 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