PROBLEM TO BE SOLVED: To provide a resin composition emitting near infrared ray fluorescence by irradiation with an excitation ray in a near-infrared region and being detected by a detector, and a molding obtained from the resin composition.SOLUTION: A thermoplastic resin composition contains a near-infrared fluorescent pigment composed of an azo-boron complex compound represented by the formula (I) (where X represents an aryl group or the like; Rrepresents a halogen atom or the like; Rto Rform a cyclic structure together with a neighboring carbon atom or represent a hydrogen atom; Rand Rrepresent a Calkyl group).