"Oh it's just a harmless joke" but can you really say the person who was the subject of your joke is not hurt? What is funny to you might not be for them at all.
Sometimes we realize a little too late the impact of our careless words and we no longer have the chance to apologize or make amends. We should start being kind, careful and attentive while we still have the chance.