With a colored composition of the related art, elution resistance within a practical range is not obtained. Therefore, an object of the present invention is to provide a colored composition having better elution resistance (less dye elution) than that of the colored composition of the related art. The present invention relates to a compound represented by the following general formula (1), a colored composition comprising the compound, and the like. {In the formula, Dye represents a dye residue, R 1 represents a hydrogen atom or a methyl group, Y 0 represents a single bond or the like, Y 1 and Y 2 each independently represent -O- or the like, A 1 represents a specific alkylene group or the like, A 2 represents an alkylene group which may have -O- in a chain and has a group represented by the following general formula (2) in the chain or on the terminal of the chain, and n represents 1 or 2; (in the formula, R 1 and Y 2 are the same as described above, R 3 represents a group represented by the following general formula (2-1) or the like, and A 3 represents a specific alkylene group or the like; [in the formula, R 1 , A 3 , and Y 2 are the same as described above.].).}