Got it. If you can see your contacts at contacts.google.com, then they’re still saved in your Google account — you just need to get them syncing properly back to your Pixel 6.
Here’s how you can fix it step by step:
1. Make sure Google Contacts sync is turned on
On your Pixel 6, open Settings...