That's usually a sign of stress from disease or water quality, but I know some types of platys also happen to have a normal red coloring around the gills. Did they look like that when you bought them? And are they breathing rapidly?
Never hurts to check the ammonia and nitrite levels if you haven't already.