Some rashes such as those caused by herpes, ringworm, measles, and other viral infections are contagious. Others, such as those caused by allergies, chronic illness and dermatitis, are not.