Recognised as Colour
#CC028B
- #CC028B
- Magenta
- Dark
- Nearest: Medium violet red
#CC028B is a magenta with RGB values 204, 2, 139 and HSL 319°, 98%, 40%. It is a dark colour, so white text on it reaches 5.3:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CC028B#CC028B
HEX#CC028B
RGBrgb(204, 2, 139)
RGB (0–1)0.8, 0.0078, 0.5451
RGB percentages80%, 0.8%, 54.5%
HSLhsl(319.3, 98.1%, 40.4%)
HSV / HSBhsv(319.3, 99%, 80%)
CMYK0%, 99%, 31.9%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,369,995
CSS custom property--colour: #CC028B;
Brightness & contrast
Relative luminance0.14745WCAG 2.x, 0 is black and 1 is white
Perceived brightness121 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.32:1
Contrast with white5.32:1WCAG normal text: AA
Contrast with black3.95:1WCAG normal text: Fail
Greyscale equivalent#373737
Inverted#33FD74
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.32:1WCAG large text: AAA
Contrast with black, large text3.95:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#02CC43
Analogous#A802CC, #CC0226
Triadic#8BCC02, #028BCC
Split complementary#26CC02, #02CCA8
Tetradic#CCA802, #02CC43, #0226CC
Tints, shades & saturation
Channel breakdown
R204
G2
B139
Red204 (80%)
Green2 (0.8%)
Blue139 (54.5%)
Hue319.31°
Saturation (HSL)98.06%
Lightness40.39%
Dominant channelRed
Hex per channelR CC · G 02 · B 8B
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