Accessible Color Pair Grid - Online WCAG Matrix for Vision Deficiencies
Enter foreground and background colors and see a matrix of how each pair works for normal, protanopia, deuteranopia, and tritanopia.
UD5 Toolkit
Check your color combinations against WCAG 2.1 AA/AAA accessibility standards in real-time.
Large Heading Text
This is normal body text for readability testing. The quick brown fox jumps over the lazy dog.
Small caption text âą 12px equivalent âą Secondary information
The Web Content Accessibility Guidelines (WCAG) 2.1 define minimum contrast ratios to ensure text is readable for users with visual impairments, including those with low vision or color blindness.
Contrast ratio is derived from the relative luminance of each color, following the formula defined in WCAG 2.1:
L = 0.2126ĂR + 0.7152ĂG + 0.0722ĂB(Lâ + 0.05) / (Lâ + 0.05) where Lâ is the lighter color.This tool performs all calculations in real-time as you adjust colors.
| Level | Text Type | Min Ratio | Example Use Case |
|---|---|---|---|
| AA | Normal Text | 4.5:1 | Body paragraphs, labels, menu items, form fields |
| AA | Large Text | 3:1 | Headings â„24px, bold text â„18.7px |
| AA | UI / Graphics | 3:1 | Icons, input borders, focus indicators, charts |
| AAA | Normal Text | 7:1 | Enhanced readability for all users |
| AAA | Large Text | 4.5:1 | Enhanced readability for large text |
Enter foreground and background colors and see a matrix of how each pair works for normal, protanopia, deuteranopia, and tritanopia.
Enter two hex colors and compute the CIE76, CIE94, and CIEDE2000 color difference. Understand how humans perceive color similarity.
Quickly adjust the brightness and contrast of an image with live preview sliders. Download the tuned photo. Canvas.
Enter a website URL and apply a protanopia/deuteranopia/tritanopia filter. Test full page accessibility.
Detect your current screen resolution, viewport dimensions, and device pixel ratio. Useful for responsive design testing. No data collection.
Upload two images and see a diff overlay highlighting the pixel differences. Adjust tolerance. For regression testing.
Pick colors from a palette or use the eye dropper to sample colors from your screen. Converts between HEX, RGB, HSL. An essential tool for designers.
Upload a gradient or enter a palette and simulate how it appears with different types of color vision deficiency. Ensure inclusive data visualization.
Enter the URL of any online image and extract its dominant colors or pick colors with a magnifier. No upload, crossâorigin friendly.
Select colors in the OKLCH space with lightness, chroma, and hue. Convert to hex, RGB, and CSS oklch(). Perceptually uniform gradients.
Interactively create colors in HWB space and get the CSS hwb() function. Simplifies tint/shade workflows. Live preview.
Paste media queries and see a visual indicator of which rules apply at current viewport size.
Convert RGB and hex colors to CIELAB L*a*b* values. Understand perceptual lightness and chromaticity. All local math.
Convert hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Point your camera at an object and see the dominant color in real time. Click to copy the hex. Fun tool for designers.
Convert HSL and HSLA color specifications back to standard HEX codes. Useful when extracting colors from CSS preprocessors. Instant client-side conversion.
Paste a media query and instantly check for syntax errors. See if it's correctly formed. Quick developer tool.
Upload an image and instantly see its most dominant color as a hex swatch. Uses color quantization. Local.
Given an RGB value, pick the matching color square. Multiple difficulty levels. Improve your color perception. Fun for designers.
Reduce the number of colors in an image to a retro 8âbit look. Uses median cut quantization in the browser. Preview and download the stylized result.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.
Upload an image and extract its dominant colors or full color palette. Download as a CSS snippet or color swatch. Entirely client-side, your images stay private.
Upload an image and see its RGB and luminance histograms. Understand exposure and color distribution. Photographer tool.
Convert RGBA colors to CIELAB and other advanced color spaces. For fineâtuning design tokens. Clientâside math.
See a random color and type its name. Score based on accuracy. Fun for designers. Local.
Display your screen's current devicePixelRatio. See how it changes when you zoom. Useful for highâres image decisions.
A dedicated color picker with common retro gaming palettes (NES, Gameboy). Pick and copy hex codes. For pixel art creators.
Enter an image URL and extract its dominant color palette. No download needed. Fast visual analysis.
Check if your browser and display support the wider DCIâP3 color space. See the difference with a simple test pattern.
Extract a color palette from an image using CIELAB kâmeans quantization. Results are perceptually more accurate than RGB methods.