Is hydrocarbon a secondary pollutant?

No. Hydrocarbon is a Primary pollutant.