The current icon in error messages uses the color #b81723
It is the only component having this color in SC/SQ. For consistency, it should be in #A4030F color to be more consistent with other components (coverage indicator in code margins for example).
It will also give it a better contrast with the background, passing the AA WCAG accessibility standard.
Result should look like this: