WCAG Contrast Checker

Enter your text and background colors to instantly check contrast ratio and WCAG 2.x accessibility compliance.

Supports HEX input with live preview, AA/AAA compliance check, and color improvement suggestions.

Report
Color inputs
Preview
Normal text — a sample paragraph at regular size (16px)
Large text — a heading sample (24px)
Bold large text — a subheading sample (18.67px bold)
Contrast Ratio
:1
1:1 3:1 4.5:1 7:1 21:1
WCAG 2.x Compliance
Level Normal Text Large Text
WCAG AA
Normal 4.5:1 / Large 3:1
WCAG AAA
Normal 7:1 / Large 4.5:1
Normal text: < 18pt or < 14pt bold (approx. < 24px or < 18.67px bold)
Large text: ≥ 18pt or ≥ 14pt bold (approx. ≥ 24px or ≥ 18.67px bold)
Color Improvement Suggestions
Design Tips
Insufficient contrast makes text hard to read for users with low vision and on screens in bright light. Aim for at least 4.5:1 for body text.
Large text (≥ 18pt or bold ≥ 14pt) has a lower threshold of 3:1 because larger characters are inherently easier to read.
WCAG AAA is the strictest standard. Aim for 7:1 or higher on important body text and detailed descriptions for maximum accessibility.
Set text and background
Pick colors with the swatches or type HEX values. Use Swap on the toolbar to exchange text and background, or try a quick preset.
Read the preview and ratio
The preview panel shows sample text, the contrast ratio, a pass/fail style label, and where you sit on the 1:1–21:1 track.
Check WCAG and apply fixes
The table lists AA/AAA results for normal and large text. The suggestions panel offers one-click colors that move you toward AA or AAA.
When should I use this tool?
Whenever you are designing web, slides, dashboards, or app screens and want a fast read on text vs. background clarity—or when brand colors are fixed but you still need a sanity check against accessibility goals.
Why do people mention 4.5:1 and 7:1 so often?
4.5:1 is the familiar WCAG AA target for normal body text; 7:1 is the stricter AAA goal. Both describe how much luminance difference exists between foreground and background—higher is usually easier to read.
Why is large text judged differently?
Larger or bolder type is easier to recognise at a glance, so WCAG allows a lower contrast threshold for large text. Important content still benefits from stronger contrast whenever you can justify it.
Is passing AA always enough?
AA is a solid baseline for most products, but it is not a ceiling. Dense UIs, harsh viewing conditions, or audiences with more low-vision users are good reasons to aim for AAA.
Can I ship the suggested colors as-is?
Treat them as a fast correction path. Always review in the real interface for brand fit, hierarchy, and states such as hover, disabled, and dark mode before calling them final.
Color Theory Frontend Dev Design Tools
2026-03-22

The Complete Color Code Guide: RGB, HEX & HSL Explained

RGB, HEX, and HSL all describe the same colors — but in completely different ways. This guide breaks down the math, the design logic, and when to use each color model, from screen design to print and accessibility.

data visualization chart design truncated y-axis
2026-05-14

Charts Can Lie: Truncated Y-Axes, 3D Pie Charts, and Visual Design Traps Explained

A poorly designed chart can make a 5% increase look like explosive growth, and nearly identical numbers look worlds apart. Here's a breakdown of the most common chart manipulation techniques — truncated Y-axes, 3D effects, pie chart tricks — and how to avoid misleading your own readers when you make charts.

Color Contrast Accessibility WCAG
2026-04-07

Color Contrast and Accessibility: WCAG Standards, Contrast Ratio Principles, and Design Improvement Tips

Color contrast ratio is a core metric in accessible web design, affecting readability for users with low vision, color blindness, and in varied lighting conditions. This guide explains WCAG 2.1 AA/AAA levels, relative luminance calculations, and common design mistakes with practical fixes.

image processing image compression color space
2026-06-04

Digital Image Processing: Color Space and Compression Performance Guide

Dive deep into digital image format selection, compression algorithm differences, and optimization strategies to balance quality and file size.

carousel information board announcement design
2026-04-27

Information Board Complete Guide: Carousel Displays, Announcement Design & Event Promotion Visual Techniques

Need to fit announcements, event images, and brand messages on one screen? A slideshow-style carousel is the most space-efficient solution. This guide covers three content modes, transition speed principles, text readability tips, and practical scenarios — plus a free online tool to build a professional board in under 5 minutes, no coding required.

Color Psychology Color and Emotion Design Psychology
2026-04-18

Color Psychology: How Colors Influence Emotions, Decisions, and Behavior

Color is far more than a visual element — it directly shapes our emotions, attention, and purchasing decisions. This article explores the psychology behind red's urgency, blue's trust, and green's health signals, examines cultural differences in color symbolism, and offers practical guidance for designers applying color psychology effectively.