What color should error messages be?
As usual, the red color is used for error message text. In some cases, yellow or orange colors are used as some resources state that red color is too stressful for users. In both cases, be sure that the error text is legible, with noticeable contrast against its background color.
What are error colors?
What is an error color? Error color indicates errors in components, such as invalid text in a text field. The baseline error color is #B00020.
Why do we need alerts?
Notifications are the most common output of alerts. Their main purpose is to alert a human being to a problem, providing as much context along the way to help the person troubleshoot and solve problems faster.