Semitic Etymological Database
Presumably related to PWS root *ḥrm 'to forbid', which has been often compared with Akk. ḫarimtu ‘prostitute’.