Anti-contraception is dogma. You are so going to burn in hell.
Contraception is "any action which, either in anticipation of the conjugal act [sexual intercourse], or in its accomplishment, or in the development of its natural consequences, proposes, whether as an end or as a means, to render procreation impossible" (Humanae Vitae 14). This includes sterilization, condoms and other barrier methods, spermicides, coitus interruptus (withdrawal method), the Pill, and all other such methods.
The Church has always maintained the historic Christian teaching that deliberate acts of contraception are always gravely sinful, which means that it is mortally sinful if done with full knowledge and deliberate consent (CCC 1857). This teaching cannot be changed and has been taught by the Church infallibly.
Humanae Vitae is an encyclical. Encyclicals aren't dogmatic. And CCC 1857 doesn't mention contraception.
One can find no period of history, no document of the church, no theological school, scarcely one Catholic theologian, who ever denied that contraception was always seriously evil. The teaching of the Church in this matter is absolutely constant
The main question is whether the teaching is ordinary and universal or just ordinary magisterium. Vademecum For Confessors Concerning Some Aspects of The Morality of Conjugal Life
claims that the teaching against contraception is "definitive and irreformable," but it doesn't say the teaching is infallible. There's speculation that it might be if one can infer that the teaching is both ordinary and universal (as opposed to just ordinary magisterium), but there's been no official statement either way.
Even if it is to be taken as infallible, it has not been the product of a Church Council or ex-cathedra Papal teaching, so it is not dogmatic. Thus, disobeying it does not confer excommunication.
At any rate, those documents all have to do with using contraception. I'm not aware of any teaching about allowing contraceptives to be made available (as opposed to, say, abortion, where helping
someone procure abortion results in excommunication.)
and why? To protect papal infalability:
Contraception has never been a part of any dogmas derived from Papal Infallibility.