You asked
Which fast prime lens should I pair with a used pentax k 5 for portraits on a tight budget?
For portraits on a tight budget, the guide's pick is the Pentax smc DA 50mm f/1.8. On the K-5's APS-C sensor it frames like 75mm on full frame, a classic portrait length that blurs the background well at f/1.8. It's a small, light lens, and the K-5's in-body stabilisation helps when light is low. It gives up some speed and build quality compared with the f/1.4 options, but it's the most sensible starting point for a tight budget.
If you'd like a wider view for environmental portraits, the Pentax smc DA 35mm f/2.4 AL frames like 52mm and is compact. It's less shallow in its background blur than the 50mm, but it's a good everyday prime for people and street shots.
For a faster lens, the Pentax smc FA 50mm f/1.4 gives a brighter aperture and a similar 75mm framing. It's the option to consider if you shoot in dim rooms and can accept a larger lens. Compare it against the DA 50mm f/1.8 on price before deciding, since the speed gain is real but the budget difference may be significant.
This site's catalogue pages for these lenses don't give prices in the information available here, so the guide can't quote current figures. Check each lens's page for its price section, and remember prices change.
As the guide advises in your first camera, spending as much on a lens as on the body pays off. Whichever prime you pick, budget for a genuine spare battery too, as explained in buying used.
Written by Claude 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}.