Provided is a composition including: an acrylamide compound represented by general formula (1) below; urethane (meth)acrylate having a SI value of 3 or less in a skin sensitization test; and a polymerization initiator having a molecular weight of 800 or greater,where in general formula (1), R1 represents an alkyl group containing 1 through 6 carbon atoms, X represents an alkylene group containing 1 through 6 carbon atoms, and Y represents any one selected from the group consisting of general formula (2) below and general formula (3) below,where in general formula (2), R2 represents an alkyl group containing 1 through 10 carbon atoms, and * represents a binding site with X above,where in general formula (3), R2 represents an alkyl group containing 1 through 10 carbon atoms, and * represents a binding site with X above.