Sol is the most touristy area, make no mistake on that. As for Huertas, although not being a very big neighborhood there are parts that are safer than others.
As for safety dont forget things like not looking a tourist or not coming back at 4.00 am by yourself. The last thing may sound stupid but many girls feel so safe in Madrid that they forget the basic rules.

Andrés
_________________________
Tapas events in Old Madrid :
http://www.madrid-tapas-parade.com