You asked

Which wider lens for portraits on the pentax k 50 keeps the background in view?

For a portrait that keeps the background in view, the guide's pick is a 35mm f/1.8 or f/1.4 for environmental portraits. On the Pentax K-50, a 1.5 crop factor turns that into roughly a 52mm view, which is closer to standard than wide. So the K-50 needs a lens shorter than 35mm to take in more of the scene. The portraits guide explains why a wider view suits people shots that show where someone is.

Three picks from the K-50's catalogue fit this:

The aperture guide matters here. At f/1.4 to f/1.8 the depth of field is very thin, so for two people at different distances, stop down to about f/2.8. Keeping the background visible also depends on distance: move your subject away from a wall rather than relying on a faster lens alone. If you want the full picture of the K-50's options, see the Pentax K-50 page.

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