A rubber composition comprising a compound having one or more groups represented by formula (X) and a rubber component is provided.
wherein ring W
1
represents a cyclic group having at least one selected from the group consisting of —C(═O)— and —C(═S)—; N
10
represents a nitrogen atom; the at least one selected from the group consisting of —C(═O)— and —C(═S)— in the ring W
1
and N
10
are conjugated; and Z
1
represents —O— or —S—.