Pentax has some pretty good cameras based around a pretty good 16 megapixel sensor. The sensor in question is an APS-C sized sensor made by Sony. Pentax uses this sensor in their compact K-01, the beefy K-5 DSLR and their new K-30 DSLR.
DxOMark puts digital cameras to the test and gives them a score based on the results of those tests. The K-5 is the 7th highest ranked digital camera (tied, actually, with the medium-format Pentax 645D and the full-frame Nikon D3s), and is the highest ranked camera with an APS-C sized sensor (they haven't tested the Nikon D3200 yet). The K-01 is tied for 18th best (which is pretty good, but not 7th despite the same sensor and software... not sure the difference). The K-30 DSLR hasn't been tested yet, but it should score pretty high.
The two-year-old K-x DSLR, which has a 12.4 megapixel APS-C sized sensor, ranks 36th best.
The K-5 (body only) has an MSRP of $1,100. The K-01 (with a lens) has an MSRP of $900. The K-30 (body only) has an MSRP of $850.
We will have to see just how good the Nikon D3200 is, but my guess is that it will outscore the K-5, the K-01 and the K-30. With an MSRP of $700 (with a lens), it is significantly cheaper than all three. Despite the fact the Pentax has made some pretty good cameras priced reasonably, it will be difficult for them to compete with Nikon's new DSLR.
In the end you shouldn't worry much about this. Any of the Pentax cameras mentioned are plenty good for professional work. In fact, your camera matters not. Worry more about vision.