As a tutorial, have a look at Perry VI table 23-2. It gives a wide selection of materials and their resistance from 0 to 100% HCl, in the range of temperatures 0 to 300oF.
HCl will happily eat the 316 away. We use polypropylene at ambient temperature.
For nitric, 304 is better than 316 as nitric eats moly. At moderately elevated temperatures, 321 is said to be better.
The cheapest way to go is 304L with a Carbon less that 0.020
321 SS will work but the fittings will get you. If you go this way make sure the welding rod is also has a restriced carbon.
Our Standard for all HNO3 was the above 304L though we further restricted the S and P for vessels and tanks.