What is a word that means both irony and karma?

Solution 1:

I think you're looking for poetic justice. Wikipedia does a good job of describing it:

Poetic justice is a literary device in which ultimately virtue is rewarded and vice punished. In modern literature it is often accompanied by an ironic twist of fate related to the character's own action.