old variant of 愧[kui4]
Phonosemantic compound. 忄 represents the meaning and 鬼 represents the sound. Simplified form of 媿.
《說文》:“媿,慙也。从女,鬼聲。愧,媿或从恥省。”