Color is determined by its wavelength. Similarly, pitch is determined by frequency. This is an analogy where the first term (COLOR/PITCH) is characterized by the second term (WAVELENGTH/FREQUENCY). Just as different wavelengths produce different colors of light, different frequencies produce different pitches of sound.