Set the scene
A community calendar gives available events a pale green description and sold-out events a pale red description. Designers see the distinction on a bright monitor, but a phone user outdoors overlooks a sold-out label and keeps trying to open its booking form.
Start by giving the example a reliable end point. Say what someone needs to be able to do when they walk away, and identify the person or device involved in the handoff. This sounds simple until two participants mean different things by a completed task. Write the stopping point down before comparing settings or products. Use a single representative item for the first run, so a poor outcome can be traced without filtering the results of an entire afternoon.
Where the difference comes from
WCAG 2.2's minimum contrast criterion uses a ratio of 4.5 to 1 for normal text and 3 to 1 for the standard's large-text category, subject to stated exceptions. Non-text contrast applies different rules to meaningful component boundaries and graphics. A status can have adequate contrast but still convey crucial information through color alone.
Build a palette audit from roles rather than from a row of abstract swatches. Body text, icon-only controls, field outlines, hyperlink states, focus rings, and error notices all face different demands. For example, card subtitles might be readable on a flat surface and disappear over a hero image using the same token. Start with a page that combines navigation and form interaction, since focus and disabled states often appear alongside reading text there. Inspect the rendered color combinations with the browser and put each tested pairing beside the component name. A future design change should be able to tell what that pairing was meant to protect. Record the theme and component state beside each pair.
Audit the Link Inside a Paragraph
Links inside often-read instructions are a useful place to identify how color and context interact. Build a short page with an ordinary link, a newly visited link, and a followed link in each theme. Ask someone to point out the available actions in a monochrome view before moving a pointer over them. Underlining or another persistent visual distinction can preserve the link's identity; a barely different hue may be hard to distinguish even if its text contrasts well against the page. Check the indicator again when focus arrives from the keyboard. Also verify that hover styling does not make the label less legible. A link's normal, visited, focus, and hover states should still belong to a single recognizable element across reading contexts.
Run a small trial
List pairs from actual screens, including text over photographs, placeholder text, active controls, link and visited states, focus rings, and dark themes. Record the foreground and background color of each visible pair. Include a state with the smallest type and one outside the primary design mockup.
Decide what counts as evidence
Measure contrast using resolved colors, accounting for transparency and the weakest relevant section of a photo background. Photographing a screen is useful for documenting a scene but not for computing the expected CSS contrast ratio. Collect examples when an interface depends on a specific hue to explain what happened.
Imagine an audit with fourteen normal text and background pairs. Ten exceed the common 4.5 to 1 baseline and four miss it, including one measured at 4.42 to 1. Do not round the missed result above the threshold. Suppose a button boundary measures 3.2 to 1 against its surroundings while five adjacent focus cues blend into their backgrounds. The project now has two independent pieces of work: fix the four text roles and inspect focus visibility across actual components. Those hypothetical figures illustrate why a contrast summary should preserve the underlying roles instead of compressing every measurement into one green mark for the entire site. Retest the borderline state after appearance and font weights change.
Color changes can introduce a fault between the two states shown in a design file. Imagine a white link on a deep panel that fades toward a lighter accent when it receives keyboard focus. Both screenshots might be readable, while a person holding down Tab encounters the least legible color during the fade. Try a real sequence through neighboring links and watch the active item at the same speed people use to move around. Where interaction color changes are decorative, a persistent outline or underline can carry the state throughout the animation. Preserve the same cue when a theme changes the colors around the item. Include an example beside the palette's ordinary text measurements so a later maintainer sees which colors are animated and which cues carry meaning. This makes it easier to adjust a transition duration without accidentally weakening the focus treatment.
Diagnose a bad run
A button uses white text on blue and easily meets text contrast, yet its keyboard focus ring is the same blue as the surrounding control. The text measurement cannot tell a keyboard user which control has focus. Use a suitable indicator with clear separation from the colors it touches.
Transparency can make a technically correct color pair wrong on the screen. A designer may sample a translucent card in front of a plain area while the small print also appears where a sunlit portion of a photograph begins. The background beneath the text varies with crop, display width, and user-selected appearance. Measure the areas behind the essential words, or place those words on a sufficiently consistent surface. Similar issues occur when a hover effect lowers the opacity of an entire link or a fixed header overlays changing content. Changing its background may solve all states with less maintenance than chasing individual picture adjustments. Consider just the area covered by the actual text, not the entire image.
Preserve Instructions Over a Photograph
A museum schedules an evening exhibition and puts the time and ticket price over a wide lobby photograph. On a large screen, the letters sit against a dark wall. On a narrower phone, a crop moves a lit exit sign and white window behind them. Treat the mobile composition as a separate rendered case. Review the contrast in the area occupied by the smallest details, including when the text wraps to two lines around a long date. A solid surface behind that group of labels can protect the schedule while the photograph stays visible elsewhere. Recheck in the editor whenever a new image is uploaded. If the page's primary action sits over the photo, review its boundary and focus presentation as well as its text.
Check the other case
Try completing the task in a monochrome view and from the keyboard. Repeat with the operating system's relevant high-contrast or forced-color mode where available. Check a selected checkbox, an invalid input, and a focus indicator to reveal states that remain invisible despite a clean default screen.
A medical appointment reminder and a photo gallery use color differently. For a gallery, a subtle accent can frame an image without conveying important information. A reminder that distinguishes upcoming, checked in, and cancelled visits with only blue, green, and gray dots leaves important words out of the workflow. Add a brief visible status and make sure it remains distinguishable with color removed. A redundant icon can be useful if it is recognizable, but it should not create an unlabeled impression that the user must decode. Apply the same idea to inline charts where labels or patterns can preserve distinctions across display modes. A quick keyboard walkthrough can also expose missing outlines on status filters.
Check Print and Forced Colors Separately
A local club publishes instructions that some readers print and others view with an operating system's high-contrast setting. A light status pill that looks readable on screen might print with no background at all. A forced-colors theme can substitute the system's palette and suppress some author styling. In both views, check that qualifiers such as cancelled or waitlisted remain words that the reader can find. Prefer a border or system-appropriate indicators where a shadow alone might disappear. Use a sheet of known examples that includes selected rows and an error notice, then follow the normal task with no mouse. The aim is to preserve the connection between the action and its state even when the original brand colors do not appear.
What the decision gives up
A brand color can remain recognizable in logos or larger decorative areas while reading and interaction colors use stronger pairs. A photo or gradient behind small text requires careful evaluation across crop sizes. A solid text surface can simplify the editor's work when photos change frequently.
What to do next
Create a compact color table for foreground and background pairs, then assign meaning through visible words or shapes as well. Check one representative form, navigation path, and linked card on a phone and with the keyboard whenever the design system changes its contrast, outline, or background rules.
Revisit the contrast table when typography or layout changes as well as when a color changes. A heading that qualifies as large in a desktop screenshot may use different dimensions in a compact card. Test real words, zoom, focus, and states after styles settle. Add a small repeatable review for visited links, errors, selected rows, inactive controls, and the appearance chosen by the operating system where it is supported. If you cannot check a third-party embedded tool with the same rules, select a stable visible route around it for essential information, and revisit the provider's options before expanding your use of it. Keep exceptions current when the site changes links or embeds.



