Black Eye

What does the idiom “Black Eye” mean?

Definition:

A mark of shame

For example:

“By overcharging customers, you not only gave the company a black eye—you broke the law.”