You asked

How does the pentax 50mm f 1 8 compare with a 35mm f 1 8 for low light portraits on aps c?

This site doesn't list a Pentax 35mm f/1.8, so I can't compare that exact lens. The closest Pentax entries are the Pentax smc DA 50mm f/1.8, a lens made for APS-C bodies, and the Pentax HD FA 35mm f/2, which the site lists for full-frame cameras, so it may not suit an APS-C body at all.

For low-light portraits on APS-C, the 50mm DA is the guide's pick. It is described as the cheapest fast portrait lens for Pentax APS-C bodies. Its f/1.8 aperture lets in plenty of light, and it frames a classic portrait view. The portraits guide says a 50mm f/1.8 on APS-C behaves like a 75-80mm portrait lens, which flatters faces and blurs backgrounds well.

A 35mm lens at f/1.8 would gather the same amount of light, but it frames wider. That suits environmental portraits that show where someone is, and small groups, but tight portraits in dim rooms will be harder to frame. The guide's starter lens advice puts a 33-35mm f/1.4 to f/1.8 on APS-C as a fast standard for low light, people and food, so a 35mm is a sensible second lens rather than a replacement for the 50mm.

For most people shooting portraits in low light, the 50mm DA is the better first buy. Add a wider lens later if you want to include more of the setting.

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