Compound repelling a metal