Awww honey - I have done that in the distant past for the same reasons you did, stems back to childhood for me it was about not being hugged as a child but i did have a great childhood, just the emotional part was missing.The love etc..
Don't be disgusted with yourself, I hope you played it safe but still don't be mad at yourself these things happen in the spur of the moment, just think twice the next time