Pink pimples ("neonatal acne") are often caused by exposure in the womb to maternal hormones. No treatment is needed, just time. They can last for weeks or even months on baby's skin. This rash should not cause the baby any discomfort.
In the first few months of a baby's life, any rash associated with other symptoms (such as fever, poor feeding, lethargy, or fussiness and cough) needs to be evaluated by a pediatrician as soon as possible. Read more about your newborn's skin and rashes.
Article: Your Newborn's Skin and Rashes