Is it a good idea to use red color in User Interfaces? [duplicate]

This question already has an answer here:

Colors like red and green are not visible to people with colour blindness.So is it a good idea to use red or variations of red as a user interface colour?