The traditional rainbow consists of seven colors: Red, Orange, Yellow, Green, Blue, Indigo, and Violet (ROYGBIV). Pink is not part of the rainbow spectrum because it is not a spectral color - it cannot be produced by a single wavelength of light and requires mixing of red and violet wavelengths.