You asked

Is the pentax hd da 16 50mm f 2 8 ed plm aw good for portraits?

Here is what the site says about that.

From Pentax HD DA* 16-50mm f/2.8 ED PLM AW: Pentax HD DA* 16-50mm f/2.8 ED PLM AW: A zoom lens by Pentax for APS-C cameras, 16-50mm f/2.8. The weather-sealed fast standard zoom for APS-C, focused by a quiet stepping motor. Specs - Maker: Pentax - Focal length: 16-50mm (zoom) - Maximum aperture: f/2.8 - Made for: APS-C sensors - Mounts: Pentax K - Stabilised: no - Autofocus: yes What it frames like - On APS-C (Pentax K): like 24-75mm on full frame; f/2.8 gives about the depth ...

From Lenses: Your first lenses: 1. A standard zoom, 24-70mm or 24-105mm equivalent. The kit zoom is fine to start. 2. A fast standard prime, a 50mm f/1.8 on full frame or a 33-35mm f/1.4 to f/1.8 on APS-C. Low light, people, food. 3. Then add for what you shoot: a telephoto zoom for wildlife and sport (wildlife and sport), a wide zoom for landscapes (landscape), or an 85mm for portraits (portraits).

Quoted from this site's pages.

From these pages

This answer is for the question above. Each answer is written for the exact question in its address, so a question with its details in it (a budget, what you shoot, what you already have) gets an answer about those details. An answer draws on all 15 pages of the guide and its catalogue of 320 cameras and 1050 lenses. Another question gets its own answer at its own address, as words after /ask/. Or fill in your own: /ask/which-camera-for-{what-you-shoot}-under-{budget}-euros or /ask/which-lens-for-{what-you-shoot}-on-{your-camera}.