Accessibility for Mobile Web: Improving Color Contrast

CB Averitt

By CB Averitt

February 6, 2018

illustrations of ux design and color contrast on a mobile phone

Color contrast is a hot topic in the area of accessibility testing. And often overlooked, are accessibility color contrast best practices specific to mobile web. Let’s start by diving into the web content accessibility guidelines, also known as WCAG, and the success criterion related to contrast minimum. We will also dive into things web designers should keep in mind when designing and review which tools they can use to analyze the color contrast of their designs.

Follow along here in my recorded walk-through if you’d like:

WCAG 2.0 and Color Contrast

In WCAG 2.0, the Web Content Accessibility Guidelines from the W3C, the AA success criterion that related to color contrast is 1.4.3. This SC reads “contrast minimum, the visual presentation of text and images of text has a contrast ratio of at least 4.5 to 1 except for the following”:

  • Large Text: Large-scale text and images of large-scale text have a contrast ratio of at least 3 to 1;
  • Incidental: if the text or images of text are part of an inactive user interface component that is pure decoration, that is not visible to anyone, or that are part of a picture that contains significant other visual content, they have no contrast requirement.
  • Logotypes: text that is part of a logo or brand name has no minimum contrast requirement.

Let’s review large text, which could refer to 18 point or 14 point bold, or a font size that would yield equivalent. Be sure to note that the point scale was for print back in the day. Now, we’re dealing with the web and designers must look at scale in terms of pixels, percentages, and EMs. In summary, 18 point and 14 point sizes do not equate to 18 pixels and 14 pixels. Pixel size is even more relevant when designing for mobile. The environment plays more of a role, for example, there could be the different lightings. You could go to a restaurant with dim lighting or outdoors, with sun and brightness.

Automated Tools for Analyzing Color Contrast

One way to find color contrast ratio is through automated tools. For example, Deque’s aXe tool does a very good job analyzing what’s termed as hex code. Any automated tool that works well for you will likely do a really good job of analyzing hex code. One challenge of automated tools occurs when there is background color and a foreground color, but there is an image in between. That image could be a decorative image or it could be a gradient. Images of text also pose a challenge for automated tools. In this case, one should rely on an eyedropper tool.To use aXe, right-click inspect element to analyze the page. The report may say elements do or do not have sufficient contrast.

Designers: Things to Note

One thing to note, if it’s 18 point or 14 point bold, the contrast ratio must be only 3 to 1. In any other situation, the contrast ratio must be a minimum of 4.5 to 1. It is also important to note that designers may change the opacity of the text. In that case, the hex code may be one color but the opacity may have changed, making the color appear to be a lighter color. Furthermore, text and images should be analyzed with an eyedropper tool to analyze the pixel of the text as the foreground and the image as the background. Once you click the pixel you want to analyze, it will copy the hex code to your clipboard.

Types of Tools to Use

WebAIM is one website that allows you copy and paste hex codes to analyze the color contrast ratio. Tanaguru is another great contrast tool. This tool allows you to manipulate the two colors you are checking and adjust the maximum ratio. It is often the case that designers will not know how to fix failing color contrast, and a lot of times the colors that they’re using are branded type colors. In that case, the best thing the subject matter experts will say that it fails, but in the end branded color is an exception. This tool will let them use the color they prefer and manipulate it to get as close to 4.5 as possible.

Recap: Mobile is Dependant on the Environment

It is important to keep in mind too with mobile and the way mobile screens work there’s a whole other realm of text sizing. Be aware of those type things. For example, different viewports and different mobile devices have font weight issues that are relevant to accessibility. Text resizing is another factor that plays into color contrast and readability. This video is a brief overview of how designers can fix color contrast issues and which tools they can use. I also touched on a few things designers should look out for when designing for mobile web interfaces. Below are a few helpful links to help you in your future testing and design:

Feel free to leave your comments at the bottom, ask questions, I’d love to hear them.

CB Averitt

CB Averitt

CB Averitt is a Principal Consultant with Deque Systems. He has been in web development for over 17 years and has experience with front-end and back-end development as well as design and user experience. He has completed hundreds of assessments and remediations in numerous technologies. He has conducted many at major accessibility conferences such as CSUN’s “Annual International Technology and Persons with Disabilities Conference” as well as Knowbility’s “John Slatin AccessU.” CB is a scuba instructor and a drummer, but not usually at the same time. CB has completed hundreds of assessments and remediations in numerous technologies such as web, PDF, and mobile. He has performed numerous presentations across the State of South Carolina. He has presented at major accessibility conferences such as CSUN’s “Annual International Technology and Persons with Disabilities Conference” as well as Knowbility’s “John Slatin AccessU”. CB has been a volunteer with The South Carolina Assistive Technology Advisory Committee (SC ATAC) for over 9 years.

Get blogs in your inbox

No slop, just real accessibility insights from qualified experts.

ou consent to Deque receiving, using, and sharing information as stated in Deque's privacy statement. You can change your consent at any time by contacting us.

More on this topic

The next big leap in digital accessibility: Why the digital accessibility community should embrace EN 17161

wilco fiers 400x400 1 300x300
June 11, 2026 By Wilco Fiers

Learn how integrating EN 17161 empowers your organization to set up a robust accessibility program for measuring real-world accessibility alongside WCAG.

Read Article
Two individuals working at a laptop, one is blind. There are four callout boxes with the text: Digital accessibility compliance, EN 17161, WCAG, and design for all.

The Accessible Canada Act: Deadlines are closer than you think

Glenda Sims headshot, smiling
February 5, 2026 By Glenda Sims

With new regulatory and enforcement deadlines now in place for Canada’s ACA, it’s important to understand the challenges and requirements. Let's break down the specifics.

Read Article
A picture of five co-workers gathered around a table, focusing on documents on the table. The image features four call-out boxes, with the words: Accessible Canada Act, Accessibility regulations, Accessibility standards, and Reporting and enforcement.