Recognised as Colour
#CC51A2
- #CC51A2
- Magenta
- Dark
- Nearest: Hot pink
#CC51A2 is a magenta with RGB values 204, 81, 162 and HSL 320°, 55%, 56%. It is a dark colour, so black text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Hot pink.
Colour values
#CC51A2#CC51A2
HEX#CC51A2
RGBrgb(204, 81, 162)
RGB (0–1)0.8, 0.3176, 0.6353
RGB percentages80%, 31.8%, 63.5%
HSLhsl(320.5, 54.7%, 55.9%)
HSV / HSBhsv(320.5, 60.3%, 80%)
CMYK0%, 60.3%, 20.6%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,390,242
CSS custom property--colour: #CC51A2;
Brightness & contrast
Relative luminance0.21331WCAG 2.x, 0 is black and 1 is white
Perceived brightness138.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundBlackcontrast 5.27:1
Contrast with white3.99:1WCAG normal text: Fail
Contrast with black5.27:1WCAG normal text: AA
Greyscale equivalent#717171
Inverted#33AE5D
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text3.99:1WCAG large text: AA
Contrast with black, large text5.27:1WCAG large text: AAA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#51CC7B
Analogous#B951CC, #CC5164
Triadic#A2CC51, #51A2CC
Split complementary#64CC51, #51CCB9
Tetradic#CCB951, #51CC7B, #5164CC
Tints, shades & saturation
Channel breakdown
R204
G81
B162
Red204 (80%)
Green81 (31.8%)
Blue162 (63.5%)
Hue320.49°
Saturation (HSL)54.67%
Lightness55.88%
Dominant channelRed
Hex per channelR CC · G 51 · 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