Their characters, Amy Juergens and Ricky Underwood, had a complicated and often tumultuous relationship throughout the series, but their romance was a central plot point, not a romantic subplot.
It's important to remember that actors are playing roles and portraying characters. While their on-screen chemistry was undeniable, there's no evidence that they ever pursued a romantic relationship in real life.