@Melonlity -- that's one of those "maybe, maybe not" questions. Here's the thing -- pink eye in dogs is usually caused by allergies or a bacteria. Pink eye caused by an allergy is not contagious, but one spread by bacteria is highly contagious.
Since it is hard for someone without some education in the matter to tell the difference between the contagious form and the one that is not, it is always best to exercise caution when either treating the dog or being anywhere near the critter. If a dog with bacterial pinkeye rubs up against your couch, for example, you could catch pinkeye by sitting on that couch.