I’ve always considered that texting “hehe” is a light chuckle, a “heh heh” sound; “hehehe” is more of a giggle, whether coy or creepy; and any more “he”s than that delves into witchy cackling territory.
But “haha”, “hahaha”, and “hahahaha”, all “sound” the same to me and the meaning only varies in intensity but is more context dependent.


Hehe: innocent little chuckle
Hehehe: mischief
Hehehehe: devious plotting