Artifact ยท Utilities

Color Contrast Checker

color contrast checkerwcag contrastaccessibilitycontrast ratioaa aaaa11y

Color Contrast Checker tests a text color against a background and shows the contrast ratio with the WCAG 2.2 result for normal text, large text and UI parts. Type a hex code, an rgb() or hsl() value or a color name, or use the color picker and lightness slider.

Use Color Contrast Checker together on your board.

When a pair fails, it suggests the nearest text or background color that passes AA or AAA. Each suggestion keeps your hue and changes only lightness, and one click applies it.

It runs on a shared MockFlow board, next to your designs. The board palette and the list of checked pairs are shared with everyone on the board, and each saved pair shows who saved it and when.

  • WCAG 2.2 AA and AAA checks. Results for normal text, large text, and UI parts and graphics, with the ratio never rounded up, so 4.49:1 fails AA as it should.
  • Nearest passing colors. Text and background suggestions for AA and AAA that keep your hue and saturation and change only lightness.
  • Live preview. A heading, body text, a 13px caption, a button, a field and an icon drawn in the pair you are checking.
  • Any color format. Hex, rgb(), hsl() and color names, plus transparent colors, which are blended over the background before the ratio is worked out.
  • Shared palette grid. Add colors once and see every text and background pair rated in one grid that everyone on the board shares.
  • Checked pairs with who saved them. A shared list of named pairs with their ratio and rating, showing who saved each one and when.

How to use Color Contrast Checker.

1

Enter two colors

Type a text color and a background, for example #777777 on #ffffff, or pick them with the swatches. The ratio and the AA and AAA results update as you type.

2

Read the results

Normal text needs 4.5:1 for AA and 7:1 for AAA. Large text needs 3:1 for AA and 4.5:1 for AAA. UI parts and graphics such as borders and icons need 3:1.

3

Fix a failing pair

Under Nearest passing colors, choose the text or background suggestion for AA or AAA. It keeps the hue and moves only lightness until the pair passes.

4

Save the pair

Give the pair a name such as Caption on card and choose Save pair. It appears under Checked pairs for everyone on the board.

5

Build the board palette

Open Palette and add your brand and UI colors. A grid rates every text and background combination as AAA, AA, AA18 or Fail.

6

Open any combination

Choose a cell in the palette grid, or Open on a checked pair, to load it into the checker and adjust it.

Who uses Color Contrast Checker.

A designer reviewing a new screen

Check each text color against its background and save the passing pairs under names the team recognises.

A design system team defining colors

Add the brand palette and use the grid to agree which combinations are allowed for body text, large text and icons.

A developer fixing an accessibility audit

Paste the failing colors, apply the nearest passing suggestion and share the fixed pair with the designers on the board.

A product team in a design review

Keep the checked pairs next to the mockups so everyone can see which choices were tested and who checked them.

Add Color Contrast Checker to your board.

Use on a board opens a new board with Color Contrast Checker already on it. To add it to a board you already have, follow these steps. Each copy keeps its own data, so a vote on one board never changes another.

1

Open your board

Open the MockFlow board you want to use it on.

2

Add it from the Artifact Library

Click Add anything (the plus button) in the toolbar at the bottom of the board, switch to Artifacts and pick Color Contrast Checker under Utilities. Adding it does not use AI credits.

3

Use it together

Click Interact with Component (the hand button), or switch the board to Play mode. Everyone on the board uses the same app, and Reset shared data clears it for the next session.

Questions about Color Contrast Checker.

What contrast ratio does WCAG AA require?
4.5:1 for normal text and 3:1 for large text and for UI parts such as borders, icons and focus rings.
What contrast ratio does WCAG AAA require?
7:1 for normal text and 4.5:1 for large text. There is no AAA level for UI parts and graphics.
What counts as large text?
Text of 24px (18pt) and up, or bold text of 18.66px (14pt) and up.
How are the suggested colors chosen?
The checker keeps the hue and saturation of your color and moves only its lightness, lighter or darker, whichever reaches the target with the smaller change.
Can I check a whole palette at once?
Yes. Add your colors under Palette and a grid rates every text and background combination as AAA, AA, AA18 or Fail.
Does it handle transparent colors?
Yes. A transparent text color is blended over the background, and a transparent background over white, before the ratio is worked out.
Who can see the palette and checked pairs?
Everyone on the board sees the same palette and list, and each checked pair shows who saved it. The pair you are checking stays yours until you save it.
How do I add it to a board?
Use on a board on this page opens a new board with it already on, or add it from Add anything, the plus button in the bottom toolbar, under Artifacts.
Get started

Use Color Contrast Checker with your team.

Included on Plus and MaxChange it with AI on Max
New to MockFlow

Sign up free, open a board and see what your team can use together.

MCPBrainstorm with MockFlow MCP

Add MockFlow as an MCP connector in Claude, Cursor, or any MCP-compatible AI assistant to generate flowcharts, mindmaps, architecture diagrams, and 16 types of visualizations.

Desktop App MCP Powerful
CLI Web MCP Developer
Loginless Web MCP Easiest

Built into the MockFlow Desktop App. AI creates visuals directly on your open canvas — no URLs, no waiting.

1
Open Desktop App → open a MockFlow project
2
In Claude Code / Cursor, run:
claude mcp add --transport http -s user mockflow-ideaboard http://localhost:21193/mcp
3
Ask: "Create a flowchart for..."

Best for: Designers, product teams, daily MockFlow users.

Download Desktop App →

Install from npm, log in via browser (OAuth), and boards are saved to your MockFlow account.

1
npm install -g @mockflow/ideaboard-mcp
2
mockflow-ideaboard-mcp login
3
mockflow-ideaboard-mcp

Best for: Developers using Claude Code, Cursor, or VS Code Copilot.

npm Package →

Add MockFlow as a connector in Claude.ai or ChatGPT. No installation, no account required. A new board is created and you get a shareable URL.

1
Open Claude.ai → Settings → Connectors
2
Paste this URL: https://app.mockflow.com/ideaboard/mcp
3
Ask Claude to create a flowchart — done!

Best for: Managers, marketers, anyone using Claude.ai or ChatGPT in the browser.

Welcome back

Don't have an account? Sign up

Faster ways in

Sign in with an account you already use.