Subtractive color mixing occurs when pigments or dyes absorb certain wavelengths of light and reflect others, resulting in the perception of color. This process is the basis for color printing and painting, where the primary colors cyan, magenta, and yellow are combined to produce a wide range of colors by subtracting varying degrees of light wavelengths.