You asked
Is the pentax hd d fa 21mm f 2 4 ed limited dc wr good for astrophotography?
The guide doesn't cover astrophotography, so it can't say whether this lens is good for it. What it does say is that the Pentax HD D FA 21mm f/2.4 ED Limited DC WR is a compact, weather-sealed wide prime. On full frame it gives a true 21mm view, and on APS-C it frames like about 32mm. It has autofocus but no stabilisation, and it's made for the Pentax K mount.
For a wide view of a landscape with the sky in it, the guide's landscape page covers the wide-angle reasoning. Full-frame bodies suit this lens best, so the Pentax K-1 and Pentax K-1 Mark II are the natural pairings. The lens is also listed for many APS-C Pentax bodies, but on those it becomes a moderately telephoto-leaning view rather than a wide one.
If you plan to photograph the night sky, check the lens's aperture and focal length against your own shooting needs, and look for guidance from a dedicated astrophotography source. The guide can help more with the broader questions of which camera and lens suit your subjects.
Written by Claude from this site's pages.
The answer changes if
- If you shoot mainly the night sky: Is the Pentax HD D FA 21mm f/2.4 good for astrophotography with a full-frame camera?
- If you already own an APS-C Pentax body: Does this 21mm lens still work well for wide landscapes on APS-C?
- If you need a lens with image stabilisation: Which wide lens for landscapes is stabilised and fits Pentax K?
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}.