From its conception, the child has the right to life. Direct abortion, that is, abortion willed as an end or as a means, is a "criminal" practice (GS # 3), gravely contrary to the moral law. The Church imposes the canonical penalty of excommunication for this crime against human life.
Source: Catechism of the Catholic Church (Vatican.va)