You asked
What wide lens should I pair with a pentax kf for dim indoor family gatherings?
For dim indoor gatherings, the fast aperture matters more than the focal length. The Lenses guide's aperture section explains that a wide opening gives faster shutter speeds in low light. The Pentax KF page lists its 1.5x crop, so the focal lengths below are the full-frame equivalents shown there.
The best all-round pick is the Sigma 18-35mm f/1.8 DC HSM Art. It is a zoom that stays at f/1.8 across its range, and on the KF it frames like 27-52mm. That covers wide room shots and close group portraits without swapping lenses. It is bulky, though, and the wide end is less wide than a dedicated wide lens.
If you want something smaller and faster for close people shots, the Pentax HD FA 21mm f/2.4 ED Limited DC WR is a good choice. It frames like 32mm, a natural wide view for a room, and at f/2.4 it gathers much more light than a typical kit zoom. It is fixed, so you move your feet rather than zoom.
For tight rooms where you cannot step back, the Pentax HD DA* 11-18mm f/2.8 ED DC AW gives a very wide view, like 16-27mm on full frame. Its f/2.8 is slower than the other two, so expect to rely on the KF's in-body stabilisation for steadier handheld shots. That steadies the camera, not moving children, so keep shutter speeds up where you can.
For most families, the Sigma is the simplest answer, and the 21mm Limited is the better pick if you want a small, fast prime.
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}.