Skip to tool

Contrast check that can Fix itself

See WCAG and APCA together. Fix keeps hue and chroma, then adjusts lightness until normal text reaches AA (4.5:1). Share deep links with your team.

Full studio here. Need pairs, names, or brand-from-URL? Colorise Pro. · About

Pick
Photo
Read

Contrast workflow

  1. 01

    Set text and surface

    Paste HEX values or bring roles from the picker / photo palette.

  2. 02

    Read WCAG + APCA

    Check normal/large text and the palette matrix before you ship.

  3. 03

    Press Fix

    Lightness moves to AA; hue stays. Copy the link or export tokens.

WCAG & APCA contrast checker with Fix

This page is the contrast tool: measure WCAG 2.1 and APCA, then Fix text lightness to AA without changing brand hue. If you need the OKLCH plane or photo extract, use those landings — the FAQ here stays on accessibility pairs.

Measure both models

WCAG 2.1 ratios for normal text (AA 4.5:1, AAA 7:1) and large text (AA 3:1), plus APCA Lc with rough UI/body pass marks. The matrix checks every palette pair for normal text.

Fix preserves hue

Fix keeps chroma and hue, then searches OKLCH lightness until normal text hits AA. See before/after specimens and Undo if you want the previous text color.

Share a failing pair

Copy link produces a deep URL with ?fg=&bg= so a teammate opens the same pair on this contrast page — useful in tickets and docs.

Audit Tailwind stops

Each Tailwind v4 default color page lists contrast on white and opens Fix with fg/bg prefilled — handy when blue-500 text fails on your surface.

Example: blue-500 reference →Full Tailwind palette →

When to use contrast Fix

Failing body text on brand colors, Tailwind palette audits, European Accessibility Act–driven UI reviews, or any case where “just darken it” would destroy the hue.

Frequent contrast mistakes

Checking only a button label and not body copy, mixing AA large-text thresholds with normal text, or changing hue to “fix” contrast instead of lightness.

Example pair after Fix

Deep-link and CSS for a fixed pair (replace with your values).

/* /en/contrast?fg=2a2a2a&bg=f6f5f3 */
.text { color: #2a2a2a; }
.surface { background: #f6f5f3; }

FAQ

How does Fix work?

Fix keeps the hue and chroma of the text color and nudges OKLCH lightness until the pair reaches WCAG 2.1 AA for normal text (4.5:1). If the pair already passes, nothing changes.

What is the difference between WCAG and APCA contrast?

WCAG 2.1 is the familiar contrast ratio. APCA Lc models perceived contrast differently and is useful as a second opinion. Fix targets WCAG AA for normal text.

Can I undo a Fix?

Yes. Undo Fix restores the previous text color so you can compare or try another surface.

Is this a legal accessibility audit?

No. Scores and Fix are informational helpers for designers and engineers. You remain responsible for compliance in your product.

How do I share fg/bg with a colleague?

Press Copy link on this page. The URL includes fg and bg HEX (without #) and opens Contrast with the pair prefilled.