Primary color not changable with custum CSS

I have made in my function.php a div with a class.
This one i want to style in the custom CSS in the theme functions.

i can change everything like the size, that works. Only tge color won’t change, it always keep the color of the primary (following theme settings)

!important doesn’t work also

Edit: it is only when it is an clickable link. When it is a plain text it works good.

Any idea here?