We study the dynamical generation of entanglement for a two-body interacting system, starting from a separable coherent state. We show analytically that in the quasiclassical regime the entanglement growth rate can be simply computed by means of the underlying classical dynamics. Furthermore, this rate is given by the Kolmogorov-Sinai entropy, which characterizes the dynamical complexity of classical motion. Our results, illustrated by numerical simulations on a model of coupled rotators, establish in the quasiclassical regime a link between the generation of entanglement, a purely quantum phenomenon, and classical complexity.