Check the contrast of any color on your screen.

A free desktop app for Windows, macOS and Linux. Pick colors with an eyedropper that works anywhere, see WCAG 2.1 AA and AAA results instantly, and get the closest color that passes.

Free and open source. Works offline. No account.

Type hex, rgb(), hsl() or a color name.

An eyedropper that isn’t stuck inside a browser tab.

Press Ctrl+1 (⌘1 on a Mac) and click anything: a design file, a PDF, a video frame, another app. The color lands in the checker and every result updates.

Color Contrast Checker app window. Foreground and background panels with hex fields, eyedropper buttons, opacity and lightness sliders on the left; on the right a large contrast ratio, WCAG 2.1 pass and fail results for normal text, large text and UI components, and a list of better alternative colors.

macOS

Uses Apple’s own color sampler and magnifier. No Screen Recording permission needed.

Windows

Freezes the screen under a magnifier loupe, so you can pick from menus and hover states. Arrow keys move one pixel at a time.

Linux

Uses your desktop’s color picker on GNOME and KDE, Wayland or X11, with a built-in fallback for X11.

All of WCAG 2.1 contrast, in one window.

Every WCAG 2.1 contrast criterion
Normal text, large text, and graphics and UI components, at AA and AAA, each with a live preview in your colors.
Better alternatives
When a pair fails, the app finds the closest colors that pass while keeping your hue, ordered by how little they change. Change the text or the background, aim for AA or AAA, and apply with one click.
Ratios you can trust
Ratios are truncated, never rounded up. A pair at 4.499:1 reads 4.49 and fails, instead of showing a passing-looking 4.50.
Opacity and lightness
Blend a semi-transparent text color over the background exactly as a browser renders it, and slide lightness without losing the hue.
Paste any color format
Hex, rgb(), hsl() or a CSS color name. Copy results back out as hex, RGB, HSL or a Markdown report.
Private by design
No account, no tracking, no network requests. The colors you check never leave your computer.

WCAG 2.1 contrast requirements

Contrast ratio compares the relative luminance of two colors, from 1:1 (identical) to 21:1 (black on white).

Minimum contrast ratio by content type and conformance level
Level Normal text Large text Graphics and UI components
AA 4.5:1SC 1.4.3 3:1SC 1.4.3 3:1SC 1.4.11
AAA 7:1SC 1.4.6 4.5:1SC 1.4.6 Not defined

Large text is at least 18 point (24px), or 14 point (about 18.66px) when bold. Graphics and UI components include icons, chart lines, focus indicators and the borders of form inputs.

Download

Free under the MIT license. Each download is the latest release.

macOS

macOS 12 Monterey or later. Universal app for Apple silicon and Intel, signed and notarized.

Download .dmg

Need help installing? Read the install notes for each platform, or browse all releases on GitHub.

Questions

Why does another checker show a slightly different number?

Some tools round the ratio; this app truncates it to two decimals, the way WebAIM does. Red on white is 3.998:1, so it shows 3.99 here and 4.00 elsewhere. Pass and fail always use the exact value.

Does the eyedropper need special permissions?

No. On macOS it uses the system color sampler, which works without Screen Recording permission. On Windows and Linux it reads the screen only while you are picking.

Does it work on Wayland?

Yes, through the desktop portal color picker that GNOME and KDE provide. On X11 without a portal the app uses its own magnifier overlay.

How are semi-transparent colors handled?

The text color is blended over the background before measuring, exactly as a browser draws it. The app shows the resulting solid color so you can use it directly.

Is it really free?

Yes. It is open source under the MIT license, with no ads, accounts or tracking. The source is on GitHub.