If something is as ugly as sin, it is very ugly. The term sin has a religious connotation. It refers to a violation of God's will, a misdeed. Example: Jesus Christ! The dress she is wearing is as ugly as sin.