You asked

Which lens for portraits on the pentax k 50?

For portraits on the Pentax K-50, the lens matters far more than the body. The K-50's APS-C sensor gives a 1.5 crop factor, so an 85mm portrait lens on full frame behaves like about 128mm on this camera. The Portraits page says a cheap body with a good portrait lens beats an expensive body with a kit zoom, and Light beats gear adds that window light or open shade will do more for a portrait than any lens.

Three picks from the K-50's lens list:

I can't give lens prices here, so check the shops linked from each lens page before deciding.

Written by Claude from this site's pages.

The answer changes if

Ask next

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}.