Recognised as Colour
#CC128C
- #CC128C
- Magenta
- Dark
- Nearest: Medium violet red
#CC128C is a magenta with RGB values 204, 18, 140 and HSL 321°, 84%, 44%. It is a dark colour, so white text on it reaches 5.2:1 contrast (AA for normal text). The nearest named colour is Medium violet red.
Colour values
#CC128C#CC128C
HEX#CC128C
RGBrgb(204, 18, 140)
RGB (0–1)0.8, 0.0706, 0.549
RGB percentages80%, 7.1%, 54.9%
HSLhsl(320.6, 83.8%, 43.5%)
HSV / HSBhsv(320.6, 91.2%, 80%)
CMYK0%, 91.2%, 31.4%, 20%≈naive device-independent conversion; real print needs an ICC profile
24-bit integer13,374,092
CSS custom property--colour: #CC128C;
Brightness & contrast
Relative luminance0.15163WCAG 2.x, 0 is black and 1 is white
Perceived brightness121.9 of 255ITU-R BT.601 weighting
Light or darkDark
Best text colour on this backgroundWhitecontrast 5.21:1
Contrast with white5.21:1WCAG normal text: AA
Contrast with black4.03:1WCAG normal text: Fail
Greyscale equivalent#424242
Inverted#33ED73
Colour vision & accessibility
Distinguishable without hueShifts in lightness toonever rely on hue alone to carry meaning
Contrast with white, large text5.21:1WCAG large text: AAA
Contrast with black, large text4.03:1WCAG large text: AA
Named colours
Hue familymagenta
CSS keyword usableNo exact keyword
Colour harmonies
Complementary#12CC52
Analogous#AF12CC, #CC122F
Triadic#8CCC12, #128CCC
Split complementary#2FCC12, #12CCAF
Tetradic#CCAF12, #12CC52, #122FCC
Tints, shades & saturation
Channel breakdown
R204
G18
B140
Red204 (80%)
Green18 (7.1%)
Blue140 (54.9%)
Hue320.65°
Saturation (HSL)83.78%
Lightness43.53%
Dominant channelRed
Hex per channelR CC · G 12 · B 8C
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Harmonies
Similar named colours
Also reads as
CC128C (chemical formula)
- Formula
- 1,561.43 g/mol
- 130 atoms
CC128C has a molar mass of 1,561.43 g/mol, made up of 130 atoms across 1 element: 130 × C.
Molar mass
Molar mass1,561.43 g/mol
Total atoms per molecule130
Distinct elements1
Mass of one molecule2.5928155 × 10^-21 g
Molecules per gram3.8568112 × 10^20
Name
NameNot in the name tablea name cannot be worked out from a formula alone: isomers share formulas, and naming depends on bonding the formula does not show
Composition by mass
C100%
Carbon (C × 130)1,561.43 g/mol, 100%
Keep nerding
Every link below is a page Nerdulator can generate from what it already knows about this value.
Elements in this formula
Nerdulate something else
Nothing in mind? Surprise me · today’s page