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 a website URL and apply a protanopia/deuteranopia/tritanopia filter. Test full page accessibility.
Enter two hex colors and compute the CIE76, CIE94, and CIEDE2000 color difference. Understand how humans perceive color similarity.
Simulate reduced motion preference and test your animations. Copy the media query snippet. Keep your users safe.
Upload a gradient or enter a palette and simulate how it appears with different types of color vision deficiency. Ensure inclusive data visualization.
Display your screen's current devicePixelRatio. See how it changes when you zoom. Useful for highâres image decisions.
Detect your current screen resolution, viewport dimensions, and device pixel ratio. Useful for responsive design testing. No data collection.
Start from a base color and use `oklch(from color l c h)` to create lighter or darker variants. Copy the code.
Upload two images and see a diff overlay highlighting the pixel differences. Adjust tolerance. For regression testing.
Convert RGB and hex colors to CIELAB L*a*b* values. Understand perceptual lightness and chromaticity. All 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 hex or RGB to CIELAB L*a*b* values. Understand perceptual lightness and color opponents. Local math.
Upload an image and instantly see its most dominant color as a hex swatch. Uses color quantization. Local.
Upload any image and view it as a person with deuteranopia, protanopia, or tritanopia would. Promote inclusive design.
Enter the URL of any online image and extract its dominant colors or pick colors with a magnifier. No upload, crossâorigin friendly.
Paste media queries and see a visual indicator of which rules apply at current viewport size.
Drag a virtual ruler across your screen to measure pixel distances. Horizontal and vertical guides. Useful for UI designers checking alignment.
Extract a color palette from an image using CIELAB kâmeans quantization. Results are perceptually more accurate than RGB methods.
Given an RGB value, pick the matching color square. Multiple difficulty levels. Improve your color perception. Fun for designers.
Convert RGBA colors to CIELAB and other advanced color spaces. For fineâtuning design tokens. Clientâside math.
Browse the OKLCH color space with sliders for lightness, chroma, and hue. See the CSS oklch() code. Modern and accessible.
Answer a few questions and get a playful color-based personality result. For entertainment only.
Write a media query and instantly see if it matches your current viewport. Width, height, orientation, and more.
Increase or decrease the color saturation of your photo with a slider. Preview instantly. Download the edited image. Canvasâbased.
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.
Convert an image to grayscale by adjusting the contribution of red, green, and blue channels. Simulate B&W film filters.
Interactively apply CSS filter functions (blur, brightness, contrast, etc.) to an image and copy the resulting filter property. No coding required.
Select two paint colors and see approximate mixed result. Visual blending for artists.
Open a test video in PictureâinâPicture mode. Control entering and leaving PiP. Copy the code snippet for your own app.
Toggle between light and dark mode for a demo page. See how to use the media query. Copy the pattern.