In the books: Never. Their romance is implied through tension, jealousy, and a "long, lingering look" in the Deathly Hallows epilogue—but no kiss is written.
In the films: They kiss in Harry Potter and the Deathly Hallows – Part 2 (2011), during the Battle of Hogwarts, after destroying a Horcrux in the Chamber of Secrets.
So: Books = no kiss; Movies = yes (final film).