No problem, but they're different words with a completely different meaning. Complement is often used in math. If A is the complement of B it means A covers everything B doesn't cover and the other way around. Together they cover the whole area. Compliment means saying something nice about someone. I think it just looks stupid if you mix them up, it shows you don't know what you are saying.