irony
Definition
A literary or rhetorical device where the intended meaning is the opposite of the literal meaning, or when events turn out contrary to expectations.
Español Un dispositivo literario o retórico donde el significado pretendido es lo opuesto del significado literal, o cuando los eventos resultan contrarios a las expectativas.
Example
"The irony of the situation was that he locked himself out of his house while trying to install a new security system."