(About the movies only!)
In 1-4, it seems that Harry and Hermione had chemistry up until the Order Of The Phoenix. He kisses Cho Chang and Hermione ends up liking Ron. But then Harry fell in love with Ginny Weasley and Hermione still had feelings for Ron. But in the DHS1, in the tent when Ron leaves and Hermione and Harry dance and stop, you can see that Harry almost kissed Hermione but Hermione quickly stepped away because she still likes Ron.