Loading the page...
Preparing tools and content for you. This usually takes a second.
Preparing tools and content for you. This usually takes a second.
Fetching calculator categories and tools for this section.
Free WCAG contrast calculator for designers and developers. Test hex text and background pairs for contrast ratio (e.g. 7:1 for AAA body text), WCAG AA and AAA pass/fail, with live preview. Also see our contrast ratio accessibility calculator.
Last updated: May 24, 2026
Sizing type for low vision? Font size accessibility calculator
Contrast Ratio
18.88:1
WCAG AA
Pass
WCAG AAA
Pass
Excellent contrast. This pair meets WCAG AAA guidance for the selected text context.
Live preview of selected color combination for quick visual validation.
We can build and embed a custom version of Color Contrast WCAG AAA Calculator for your brand and workflow.
Answers: does this text color pass WCAG AAA on this background, and what ratio do I need? Solid hex only — composite translucent colors manually first.
Standardized 1:1 to 21:1 scale — white on black approaches 21:1.
Level AA for conformance baselines; AAA for enhanced readability targets.
Thresholds change with size and weight — same hex pair can pass large text and fail body copy.
Default: #111111 on #FFFFFF, normal text → ratio 18.88:1, AA Pass (≥4.5:1), AAA Pass (≥7:1).
Contrast Ratio
18.88:1
WCAG AA
Pass
WCAG AAA
Pass
Common miss: #767676 on white = 4.54:1 — AA Pass, AAA Fail.
| Context | AA (1.4.3) | AAA (1.4.6) | Notes |
|---|---|---|---|
| Normal text (regular weight) | 4.5:1 | 7:1 | Body copy, labels, form fields under ~18pt / 14pt bold |
| Large text (or normal + bold) | 3:1 | 4.5:1 | ≥18pt regular or ≥14pt bold per WCAG definition |
| Non-text UI (SC 1.4.11) | 3:1 | — | Icons, focus rings, graphical objects — not calculated here |
| Pair | Ratio | AA | AAA |
|---|---|---|---|
| Default — near-black on white | 18.88:1 | Pass | Pass |
| Body gray — AA only (#767676 on white) | 4.54:1 | Pass | Fail |
| Brand dark on off-white (#2C2C2C / #FDFDFD) | 13.73:1 | Pass | Pass |
| Fail — light gray on white (#BBBBBB) | 1.92:1 | Fail | Fail |
WCAG contrast is based on relative luminance, not perceived hue. Two colors with the same lightness but different hues can have different ratios — yellow-on-white fails faster than blue-on-white at similar hex “darkness.”
L = f(R), f(G), f(B) with WCAG gamma curveRatio = (Lmax + 0.05) / (Lmin + 0.05)Pass if ratio ≥ threshold for normal or large text contextPair contrast validation with font size, zoom, and cognitive load tools for complete interface accessibility.
Explore Accessibility & Ergonomics CalculatorsRatio = 13.73:1 — AA and AAA Pass for normal body copy. Suitable for primary reading text on off-white app shells.
Darken text to ~#4D4D4D (8.45:1) or darker. This pattern is common when teams use #767676 for secondary text copied from Material Design without checking AAA targets.
Ratio = 1.92:1 — fails AA and AAA for normal text. Typical of placeholder and disabled styles — replace with ≥#767676 for AA minimum or darker for AAA.
Share it with designers and developers building WCAG-aligned color systems.
Suggested hashtags: #Accessibility #WCAG #DesignSystem #ContrastRatio #InclusiveDesign