An object of the present invention is to provide a resin composition which can be detected both by X-ray radiation and by fluorescence or phosphorescence, and a molded article obtained from the resin composition. The present invention provides a resin composition containing a light-emitting substance and a radiopaque substance in which the light-emitting substance is a near-infrared fluorescent material or a phosphorescent material. a radiopaque substance of the resin composition is any one of barium sulfate, bismuth oxide, bismuth subcarbonate, calcium carbonate, aluminum hydroxide, tungsten, zinc oxide, zirconium oxide, zirconium, titanium, platinum, bismuth subnitrate, and bismuth.A molded article can be obtained by processing any one of the resin compositions described above.