Recognised as Colour
#CC02A7
- #CC02A7
- Magenta
- Dark
- Nearest: Medium violet red
#CC02A7 is a magenta with RGB values 204, 2, 167 and HSL 311°, 98%, 40%. It is a dark colour, so white text on it reaches 5.1:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CC02A7#CC02A7
HEX#CC02A7
RGBrgb(204, 2, 167)
RGB (0–1)0.8, 0.0078, 0.6549
RGB percentages80%, 0.8%, 65.5%
HSLhsl(311, 98.1%, 40.4%)
HSV / HSBhsv(311, 99%, 80%)
CMYK0%, 99%, 18.1%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,370,023
CSS custom property--colour: #CC02A7;
Brightness & contrast
Relative luminance0.15671WCAG 2.x, 0 is black and 1 is white
Perceived brightness125 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.08:1
Contrast with white5.08:1WCAG normal text: AA
Contrast with black4.13:1WCAG normal text: Fail
Greyscale equivalent#393939
Inverted#33FD58
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.08:1WCAG large text: AAA
Contrast with black, large text4.13:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02CC27
Analogous#8C02CC, #CC0242
Triadic#A7CC02, #02A7CC
Split complementary#42CC02, #02CC8C
Tetradic#CC8C02, #02CC27, #0242CC
Tints, shades & saturation
Channel breakdown
R204
G2
B167
Red204 (80%)
Green2 (0.8%)
Blue167 (65.5%)
Hue310.99°
Saturation (HSL)98.06%
Lightness40.39%
Dominant channelRed
Hex per channelR CC · G 02 · B A7
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