Pregnancy is not a sin. And if sin caused the pregnancy, it is no less forgivable than any other sin because of Christ.