Dear Priyanka,
If you are in the HR profession, you can only avoid general discussions with them. As a part of your job, you should not avoid people you don't like as it can lead to partiality or bias in our profession.
I know it's not easy to always implement this professional approach. If you want to communicate a message to them, email or call them, and talk with them politely—remember, you are just doing your job, nothing else. Don't involve yourself in further discussions with them; be specific and to the point.
But never forget that this dislike should not develop bias in you, as it may be harmful to your profile, job, and the organization as well. You might have to face blame for bias from management or your employees.
I have seen HR professionals facing such problems where management blames them for bias or partiality even when they are simply doing their jobs, which involves a lot of interactions with employees.
I believe HR professionals should always be open to listening to their employees, regardless of whether they like them or not. Listen to their opinions, analyze yourself, and consider to what extent you are right or wrong according to them.
Regards,
Nishu