My boyfriend called me ugly “as a joke” but I can't stop thinking about it. Am I just being sensitive?

My boyfriend knows i’m insecure so I don’t understand why he did this. I was looking at a clothing item at a store and i said “this is ugly” and he replies “just like you” and starts laughing it off. He saw I got mad and he was like “ it’s a joke, take a joke” But he never apologized or said anything else. He also doesn’t compliment me that often so hearing that kind of made me upset. Is it bad that I feel hurt by this?
My boyfriend called me ugly “as a joke” but I can't stop thinking about it. Am I just being sensitive?
Post Opinion