Yes, “people of color” is considered respectful.
And you’re right, language can change pretty fast. I’ve seen plenty of respectful words become slurs. I’ve even seen slurs be reclaimed by communities. Don’t even get me started on person-first vs identity-first language.
Knowing someone socially doesn’t always equate with showing respect.