Infrared-reflecting pigment based on titanium dioxide and process for its preparation