You asked
Is the pentax smc d fa macro 50mm f 2 8 good for portraits?
The Pentax smc D FA Macro 50mm f/2.8 can make portraits, but this site would not pick it first for them. It is a macro lens, and its strength is close-up work.
On a full-frame body such as the Pentax K-1 Mark II, it gives a natural, slightly tight view, the same field as the 50mm the portrait guide recommends for people. On an APS-C body such as the Pentax K-3 Mark III, it frames like 75mm, close to the classic APS-C portrait length.
The weak point is aperture. At f/2.8 you get less background blur than the guide's favourites. Blur grows with focal length, with getting closer to your subject, and with more distance between subject and background, so moving your sitter away from a wall helps. Aperture and background blur explains this. The guide also says that at f/1.4 and wider, depth of field can be thinner than a face, so this lens will not give you that extra thinness.
If people are your main subject, the Pentax smc FA 50mm f/1.4 is the better fit for low light and soft backgrounds. Choose this macro lens if you also shoot flowers, products or insects, where its close focus matters more than its aperture.
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}.