The synthetic resin lens has a function to generate heat by selectively absorbing infrared rays with wavelengths of 780 to 3000 nm. The synthetic resin lens includes an infrared absorber. Selective absorption of infrared rays allows the synthetic resin lens itself to generate heat and thus the lens of the present invention has the same function as being electrically heated to prevent fogging.