You asked
Pentax hd da 18 50mm f 4 5 6 dc wr re vs tamron 17 50mm f 2 8?
I don't have a page on the Tamron 17-50mm f/2.8, so I can't compare the two fairly. I'd rather not guess at its specs or price.
Here's what I can tell you about the Pentax. It's an APS-C zoom for the Pentax K mount, covering 18-50mm at f/4-5.6, with autofocus but no stabilisation. On APS-C it frames roughly like 27-75mm on full frame, and it's a sensible everyday kit lens for the Pentax bodies listed on its page.
The bigger question is whether you want a zoom at all. My travel guide suggests one zoom plus one small fast prime as a classic kit. A brighter f/2.8 zoom like the Tamron would help in low light, but it usually costs more and weighs more. Check its own listing before deciding.
Written by Claude from this site's pages.