An ink composition includes: water, a compound represented by the following general formula (1) or a salt thereof, and a compound represented by the following general formula (21) or a salt thereof.(in the formula (1), n represents 0 or 1,each of R1, R2, R3, and R4 represents a
substituent,Group A represents a substituted heterocyclic group represented by the following general formula (2) or (3):in the formula (2), R5 represents a
substituent.in the formula (3), each of R6, R7, and R8 represents a
substituent, and Group B has a substituted
phenyl group or naphthyl group).(in the formula (21), each of R21, R22, R23, R24, R25, R26, R27, and R28 represents a substituent, and X represents a
divalent crosslinking group).