RandomA11y
RandomA11y: accessible color combinations and WCAG contrast-safe foreground and background pairs.
Help Us Improve
—
(—)
Colour contrast analyser for background and foreground pairs. Live WCAG ratio, pass or fail grades, hex RGB and HSL controls, and text preview.
A colour contrast analyser (also called a color contrast analyzer) measures the ratio between a foreground and background colour—colour for text on a card, button label, or hero block—and reports WCAG-style pass or fail grades for normal and large copy. Use it to contrast compare candidate hex pairs, judge white text on black background readability, or sanity-check blue UI accents before handoff. Adjust background and foreground with hex fields or RGB and HSL sliders, preview sample copy with optional Google Fonts, reverse or save pairs, and share URL parameters. For APCA scoring see /color-contrast; for palette generation try /color-wheel or /coolors-trending-palettes—not a Chrome colour picker extension or print PMS lookup.
Controls for testing foreground and background pairs the way design and a11y reviews expect.
A practical flow for color contrast analyzer workflows before you ship UI.
Reduce surprises when you test colour for text across UI and brand assets.
Teams that need fast foreground and background feedback before implementation.
Browser-native color contrast analyzer review on the tools directory.
How this colour contrast analyser computes and stores results.
Have questions? We have answers.
More tools from Color Tools.
RandomA11y: accessible color combinations and WCAG contrast-safe foreground and background pairs.
Lighter color online—lighten any hex toward white, preview lighter hues, copy HEX, RGB, and HSL with an amount slider.
Darker color online—darken any hex toward black, preview dark hues and darker shades, copy HEX, RGB, and HSL with an amount slider.
Gradient generator and calculator: build CSS color blends, tune steps, and copy HEX, RGB, and HSL values.
Color mixing chart and color wheel mixer—blend colors and copy HEX, RGB, and HSL on ColorDesigner via Uwarp.
Hex to RGB and hex to CMYK converter—ColorDesigner on Uwarp for HSL, LAB, CMYK, and RGB color conversion.