Medically reviewed by Corinne Savides Happel, MD A contrast dye allergic reaction can occur after a diagnostic imaging test, such as magnetic resonance imaging (MRI) or computed tomography (CT) scan.