You asked

Which lens for portraits on the pentax k 7?

For portraits on the Pentax K-7, the lens matters far more than the body. The K-7's 1.5 crop factor turns a 50mm into roughly a 75mm view, a flattering length for faces. The portraits page makes the same point, and light beats gear matters even more: a window and a turned face will do more than any lens.

The guide's picks, all from the K-7 list:

For most people the 50mm f/1.8 is the sensible first portrait lens, and the 55mm f/1.4 is the upgrade if you shoot in low light. The K-7's in-body stabilisation steadies the camera for still subjects but does nothing for a moving child. For a sharper, faster-focusing setup for people, a fast prime beats a zoom every time.

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