Color Picker
Pick colors with EyeDropper, get HEX/RGB/HSL/CMYK/HWB values, explore harmonies and gradients.
FREE ONLINE TOOL
Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design.
Contrast Ratio Checker is a free, browser-based design tool. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design.
Drop an image file here or click to upload
Supports JPG, PNG, WebP, AVIF · browser-based · No upload
More Design Tools
SVG Path VisualizerVisualize and debug SVG path d attributes — paste any SVG path data and see it r CSS Button GeneratorGenerate beautiful CSS buttons with live preview — customize color, size, border SVG OptimizerClean and minify SVG code by removing comments, metadata, editor cruft, and unne Font Pairing GeneratorBrowse 20 curated Google Font pairs with live preview. Type custom text, adjustWCAG 2.2 Success Criterion 1.4.3 (Contrast Minimum) requires a contrast ratio of at least 4.5:1 between text and its background for normal text and 3:1 for large text (defined as 18pt+ regular or 14pt+ bold). Level AAA tightens these to 7:1 and 4.5:1 respectively. The ratio is computed from each colour's relative luminance (a weighted combination of RGB values after sRGB gamma expansion per the WCAG 2.2 formula), producing a value from 1:1 (identical colours) to 21:1 (pure black on pure white). FastTool's Contrast Ratio Checker accepts two colours in hex, RGB, HSL, or named-colour form, computes the exact ratio per the W3C formula, and reports which WCAG level passes or fails for each text size category.
Low contrast excludes roughly 8.5% of men with red-green colour vision deficiency, users with age-related vision loss (roughly 30% of adults 60+ per NIH data), and anyone viewing a screen in bright sunlight. The WebAIM Million 2024 study found 81% of homepages had contrast failures, making this the single most common WCAG violation and the easiest to fix. Contrast is also a legal requirement in the EU (EN 301 549), US (ADA Title III case law), UK (PSBAR 2018), and the European Accessibility Act coming into force June 2025. Checking contrast at design time is cheaper than remediation at audit time.
WCAG 2.2 defines contrast ratio as (L1 + 0.05) / (L2 + 0.05) where L1 is the lighter colour's relative luminance and L2 the darker. Relative luminance is computed per WCAG formula: L = 0.2126 R + 0.7152 G + 0.0722 * B, where each channel is first linearised from sRGB to linear-RGB via the piecewise function c_linear = (c_srgb / 12.92) if c_srgb <= 0.03928 else ((c_srgb + 0.055) / 1.055)^2.4. The coefficients match the Rec. ITU-R BT.709 luma weights for HDTV signals. Ratios below 4.5 fail AA for normal text (3.0 for large text); below 7.0 fail AAA. The calculator also computes the upcoming APCA (Accessible Perceptual Contrast Algorithm) score which may be included in WCAG 3.0, giving designers a preview of future requirements. All math runs in the browser with IEEE 754 double precision, and output includes the exact passing/failing status for both text sizes at both AA and AAA levels.
For borderline pairs (e.g. 4.5:1 exactly), darken slightly to create margin - future refactors, accidental CSS override, or minor colour drift can push you below the threshold without warning. Aim for 5:1 or better as a working standard. If you must use a branded colour that fails, add a dark outline, a shadow, or a darker overlay layer rather than changing the brand colour itself.
Artifacts emitted by this tool are ready to drop directly into production codebases — no post-processing required. The output targets evergreen browsers released within the last two years and degrades gracefully on older ones where the CSS spec defines a fallback. Where platforms diverge on newer features, the tool favours the broadly-supported form unless you explicitly opt into a newer-only output.
Contrast Ratio Checker is a free, browser-based utility in the Design category. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design. Standard processing runs on the client — no account is required, and there is no paywall or usage cap. The implementation uses audited standard-library primitives and published specifications rather than proprietary algorithms, so the output is reproducible and transparent.
FastTool targets WCAG 2.2 Level AA conformance: keyboard-navigable controls, visible focus states, semantic HTML, sufficient colour contrast, and screen-reader compatibility. If you encounter an accessibility issue, please reach us via the site footer.
Need to check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design? Contrast Ratio Checker handles it right in your browser — no downloads, no accounts. Designers work across multiple tools daily, and having instant access to design utilities in the browser eliminates context-switching between heavy desktop applications. The tool bundles WCAG 2.1 AA and AAA compliance check alongside separate results for normal text, large text, and UI components and supports HEX, RGB, and HSL color input, giving you everything you need in one place. Privacy is built into the architecture: Contrast Ratio Checker runs on JavaScript in your browser for core processing. Unlike cloud-based alternatives that require remote project storage, this tool keeps standard workflows local. The layout is designed for speed: choose your design settings, hit the action button, and preview, copy, or export the result — all in a matter of seconds. You can use Contrast Ratio Checker as a quick one-off tool or integrate it into your regular workflow. Either way, the streamlined interface keeps the focus on getting results, not on navigating menus and settings. Access Contrast Ratio Checker from any device with a web browser — the layout adjusts automatically to your screen size. No app download required, and your results are identical regardless of the platform you use. Give Contrast Ratio Checker a try — it is free, fast, and available whenever you need it.
You might also like our Google Fonts Previewer. Check out our RGB to Hex Converter. For related tasks, try our CSS Gradient Animator.
Dark gray text on white easily passes WCAG contrast thresholds for readable body copy.
Muted colors often look polished but can fail accessibility checks unless the contrast is measured.
| Feature | Browser-Based (FastTool) | Design Suite | Mobile Design App |
|---|---|---|---|
| Cost | Free, no limits | $$$ license or subscription | Free with limitations |
| Privacy | Browser-local standard processing | Local processing | May upload data |
| Installation | None — runs in browser | Large download + install | Browser extension install |
| Speed | Instant for quick tasks | Powerful for complex work | Lightweight but limited |
| Cross-Platform | Works everywhere | OS-specific versions | Browser-dependent |
| Updates | Always latest version | Manual updates needed | Auto-updates |
No tool is perfect for every scenario. Here are situations where a different approach will serve you better:
Contrast Ratio Checker supports the visual design process by providing instant feedback on design decisions. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design. Professional designers often need to rapidly test variations and communicate precise specifications to developers. Browser-based design tools bridge the gap between concept and implementation by generating production-ready values that can be copied directly into CSS or design files.
The task that Contrast Ratio Checker handles — check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design — is something that designers and creatives encounter regularly in their work. Before tools like this existed, the same task required either specialized desktop software, manual effort, or custom scripts written from scratch. Browser-based tools have changed this landscape by providing instant access to focused functionality without the overhead of software installation, license management, or environment configuration.
Features like WCAG 2.1 AA and AAA compliance check, separate results for normal text, large text, and UI components demonstrate that browser-based tools have matured to the point where they can handle tasks that previously required dedicated applications. As web technologies continue to advance — with improvements in JavaScript performance, Web Workers for parallel processing, and modern APIs like the Clipboard API and File System Access API — the gap between browser tools and native applications continues to narrow. Contrast Ratio Checker represents this trend: professional-grade functionality delivered through the most universal platform available.
Built with CSS and JavaScript, Contrast Ratio Checker processes design parameters using mathematically precise algorithms with capabilities including WCAG 2.1 AA and AAA compliance check, separate results for normal text, large text, and UI components, supports HEX, RGB, and HSL color input. The tool uses the browser's built-in color parsing for accuracy and generates output compatible with all modern CSS specifications. Visual previews are rendered using the same engine that displays websites, so what you see matches what your users will see. All calculations happen instantly in your browser with no server roundtrip.
The average person encounters between 4,000 and 10,000 design elements (ads, logos, icons, UI components) per day.
White space in design is not empty space — studies show that increasing white space around text improves reading comprehension by up to 20%.
WCAG contrast ratio is a key concept in design that Contrast Ratio Checker helps you work with. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design. Understanding WCAG contrast ratio is important because it affects how you approach this type of task. Contrast Ratio Checker on FastTool lets you explore and apply WCAG contrast ratio directly in your browser, with features like WCAG 2.1 AA and AAA compliance check, separate results for normal text, large text, and UI components, supports HEX, RGB, and HSL color input — no sign-up or download required.
As a browser-based design tool, Contrast Ratio Checker addresses this by letting you choose your design settings and get results instantly. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design. It is free, private, and works on any device with a modern web browser. Tool input is handled locally where browser APIs support it, and FastTool does not require uploads for standard use.
Check out: Color Picker
Difference between WCAG AA and AAA is a key concept in design that Contrast Ratio Checker helps you work with. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design. Understanding difference between WCAG AA and AAA is important because it affects how you approach this type of task. Contrast Ratio Checker on FastTool lets you explore and apply difference between WCAG AA and AAA directly in your browser, with features like WCAG 2.1 AA and AAA compliance check, separate results for normal text, large text, and UI components, supports HEX, RGB, and HSL color input — no sign-up or download required.
Think of Contrast Ratio Checker as your go-to design assistant in the browser. Check the WCAG 2.1 color contrast ratio between foreground and background colors. Instantly see if your text passes AA or AAA accessibility standards for normal text, large text, and UI components. Essential for inclusive web design. It includes WCAG 2.1 AA and AAA compliance check, separate results for normal text, large text, and UI components, supports HEX, RGB, and HSL color input. It serves designers and creatives who want to speed up your design process without installing software or creating accounts. The entire experience is free, private, and instant.
You might also find useful: CSS Gradient Generator
Yes. Contrast Ratio Checker runs primarily in your browser, so standard inputs stay on your device. FastTool does not intentionally upload or log tool input for this workflow. This client-side approach is ideal for design work that involves private or confidential information. Even if you are on a corporate network with strict data policies, using Contrast Ratio Checker does not send tool input to a FastTool application server.
You can use Contrast Ratio Checker on any device — iPhone, Android, iPad, or desktop computer. The interface automatically adjusts to your screen dimensions, and processing performance is identical across platforms because everything runs in your browser's JavaScript engine. No app download is needed — just open the page in your mobile browser and start using the tool immediately. Your mobile browser's built-in features like copy, paste, and share all work seamlessly with the tool's output.
Check out: CSS Gradient Generator
Once the page finishes loading, Contrast Ratio Checker works without an internet connection. All computation runs locally in your browser using JavaScript, so there are no server requests during normal operation. Feel free to disconnect after the initial load — your workflow will not be affected. Bookmark the page so you can reach it quickly the next time you are online, and the tool will be ready to use again as soon as the page loads.
Most online design tools either charge money for full access or require account-based server processing, which raises both cost and data-handling concerns. Contrast Ratio Checker avoids those tradeoffs for standard workflows: it is free, browser-first, and delivers instant results. On top of that, it supports 21 languages with full right-to-left layout support, works offline after loading, and runs on any device without requiring an app download or account creation.
You might also find useful: Color Converter (HEX/RGB/HSL/HSV/CMYK)
During rapid prototyping, Contrast Ratio Checker lets you iterate on design decisions faster by giving you instant feedback in the browser. This is a scenario where having a reliable, always-available tool in your browser saves meaningful time compared to launching a desktop application or searching for an alternative.
Prepare design assets for client presentations using Contrast Ratio Checker — generate values on the spot during meetings. The browser-based approach means you can start immediately without any installation, making it practical for time-sensitive situations where setting up dedicated software is not an option.
Keep your design system consistent by using Contrast Ratio Checker to verify and generate design tokens across projects. The browser-based approach means you can start immediately without any installation, making it practical for time-sensitive situations where setting up dedicated software is not an option.
Freelance designers can use Contrast Ratio Checker as a lightweight alternative to heavy desktop apps for quick design tasks. The instant results and copy-to-clipboard functionality make this workflow fast and efficient, letting you move from task to finished output in a matter of seconds.
MOST POPULAR
The most frequently used tools by our community.
BROWSE BY CATEGORY
Find the right tool for your task across 17 specialized categories.
Articles and guides that reference this tool:
Authoritative sources and official specifications that back the information on this page.
Authoritative accessibility contrast criterion
Explanatory guide to 4.5:1 and 7:1 ratios
Math behind WCAG contrast formula