WebAIM - Web Accessibility In Mind

E-mail List Archives

Re: Red on White fail Color Contrast?

for

From: Chagnon | PubCom
Date: Nov 10, 2017 11:07AM


That "standard" shade of red (FF 00 00) creates a vibration effect for most sighted people and should be avoided in all digital media. Just darken it a tad to create a better, more readable red.

Any of the "web-safe" colors that begin with FF should be avoided. 99 00 00 and 99 33 00 would be better choices.

FYI, the theory behind those so-called "standard" or web-safe colors has been debunked since the late 1990s. These colors are the ones with repeated pairs of numbers/letters, like 99 66 33 or 33 00 CC. You often see them in run-of-the-mill color pickers in our digital media software.

They were called web-safe because in the early days of HTML development, the early 1990s, these hexadecimal numbers produced colors on our early RGB monitors without dithering (those patterns that look like they have plaids or window screening overlaid). Remember, back then our monitors were only VGA 640 by 480 resolution at 72 p p I, so they could only show a few thousand colors. In contrast, today's smart phone screens have 400 p p I and higher resolutions, and show millions of colors. Desktop monitors are now 4k and 5k, which is 4,000 pixels.

That particular set of colors was developed by a computer algorithm with no concern about aesthetics or readability by human eyes. Consequently, the set is heavy with butt-ugly colors that no one should use for any purpose whatsoever, including way too many neon blues and greens. See https://html-color-codes.info/web-safe-colors/

Yuck!
Avoid that color palette!

This also means that the standard blue used for hyperlinks should be adjusted, too, because it's one of those "web-safe" neon blues picked by a computer that causes vibration for some sighted humans.

Here's a good website about HTML / hex colors:
www.html-color-codes.info

— — —
Bevi Chagnon | www.PubCom.com
Technologists for Accessible Design and Publishing
| Acrobat PDF | Print | EPUBS | Web | Sec. 508 Accessibility |
— — —

-----Original Message-----
From: WebAIM-Forum [mailto: <EMAIL REMOVED> ] On Behalf Of Joseph Sherman
Sent: Friday, November 10, 2017 9:06 AM
To: 'WebAIM Discussion List' < <EMAIL REMOVED> >
Subject: [WebAIM] Red on White fail Color Contrast?

My tools are telling me that plain "Red" (#FF0000) on "White" (#FFFFFF) fails the WCAG color contrast test with a 4:1 ratio. We have a lot of Red on White for error messages, notifications, etc.

Is this accurate? I would have thought standard Red on White would pass testing?

Joseph