ref
natural exclamation: first recorded in English in the mid 19th century.
ow (interj.)
14c. as an exclamation of surprise; by 1895 as an expression of sudden pain. Compare oh, ah, ouch.