Nerdulator> put something in

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

Protanopia#3B67AEno red cones; affects about 1% of men; ΔE 67.6 from the original
Deuteranopia#7382A7no green cones; the most common form, about 1% of men; ΔE 71.1 from the original
Tritanopia#E2316Ano blue cones; rare, and affects men and women equally; ΔE 40.6 from the original
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

Nearest named CSS colourMedium violet red (#C71585)ΔE 15.24, a distinctly different colour
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

Lighter +40%#F7D5EE
Lighter +30%#EEABDE
Lighter +20%#E680CD
Lighter +10%#DD56BC
Darker −10%#AB2289
Darker −20%#811967
Darker −30%#561145
Darker −40%#2B0923
More saturated +25%#F50BBB
Less saturated −25%#B54B9B

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.

Nerdulate something else

Nothing in mind? Surprise me · today’s page

Every value on this page was computed from “d52bab” by Nerdulator’s colour engine. Nothing here was retrieved from a database of answers or written by a model.