How to get your contacts off of a backed up version of your iPhone?

I no longer have the phone but I have a backed up version of the phone via iTunes

Added (1). Thank you Roberto M! I believe I did have icloud so I'm going to try that now and hope for the best!

Added (2). It worked! I'm not sure why I didn't think of that before.

No. You would have to have an iPhone to install that backup onto. Without an iPhone, you won't be able to access it. If you had iCloud, then there's some hope. You can log in to your Apple ID at www.icloud.com. Apple stores your contacts in the cloud for easy access. Best of luck!