Change link text color, if background is a specifix hex color

Hi everyone,

Has anyone had any luck regarding changing the text color on an text link, when the background color is a specific hex color?

In the second column, I have a blue link text, but it is hard to read because of the red background color, I’m using display rules to specify the red background color.