I always saw them as equals, but in different branches with completely different jobs and responsibilities. If it came down to it, Vader would outrank Tarkin since he’s a direct agent of the Emperor, whereas Tarkin seems to be some kind of military/political apparatchik. But the Death Star is his domain, and I doubt…