Studies have not been done in enough detail to say one way or another if
tanning in a bed is entirely safe
while pregnant. It can raise your core temperature and that is definitely not safe for the baby.
Same goes for the chemicals in tanning lotions, safety of them is debated, but most doctors will advise they are a better alternative to a tanning bed.