Recognised as Colour
#AB2CA2
- #AB2CA2
- Magenta
- Dark
- Nearest: Dark magenta
#AB2CA2 is a magenta with RGB values 171, 44, 162 and HSL 304°, 59%, 42%. It is a dark colour, so white text on it reaches 5.8:1 contrast (AA for normal text). The nearest named colour is Dark magenta.
Colour values
#AB2CA2#AB2CA2
HEX#AB2CA2
RGBrgb(171, 44, 162)
RGB (0–1)0.6706, 0.1725, 0.6353
RGB percentages67.1%, 17.3%, 63.5%
HSLhsl(304.3, 59.1%, 42.2%)
HSV / HSBhsv(304.3, 74.3%, 67.1%)
CMYK0%, 74.3%, 5.3%, 32.9%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer11,218,082
CSS custom property--colour: #AB2CA2;
Brightness & contrast
Relative luminance0.13068WCAG 2.x, 0 is black and 1 is white
Perceived brightness113.5 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.81:1
Contrast with white5.81:1WCAG normal text: AA
Contrast with black3.61:1WCAG normal text: Fail
Greyscale equivalent#505050
Inverted#54D35D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.81:1WCAG large text: AAA
Contrast with black, large text3.61:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#2CAB35
Analogous#742CAB, #AB2C63
Triadic#A2AB2C, #2CA2AB
Split complementary#62AB2C, #2CAB74
Tetradic#AB742C, #2CAB35, #2C63AB
Tints, shades & saturation
Channel breakdown
R171
G44
B162
Red171 (67.1%)
Green44 (17.3%)
Blue162 (63.5%)
Hue304.25°
Saturation (HSL)59.07%
Lightness42.16%
Dominant channelRed
Hex per channelR AB · G 2C · B A2
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