Color Contrast Checker
Check the WCAG 2.2 contrast ratio of a text and background colour, with AA and AAA verdicts and the nearest passing colour.
Design & Accessibility
Paste up to 12 colours and see the WCAG contrast ratio of every pair in one grid, filtered by AA or AAA.
Your files and text are processed on your own device, inside this page. Nothing is uploaded to Dubinity or stored, and closing the tab discards it. How privacy works
Paste a palette as hex, rgb(), hsl() or oklch() values, one per line or separated by commas, optionally with names. The grid shows every text-on-background pair with its exact ratio and the best level it reaches: AAA, AA, AA Large (which also covers UI components) or fail.
Filter to the level you need to see which combinations are safe to use, then copy the grid as CSV or Markdown for a design system document. Semi-transparent colours are blended the same way as in the single-pair checker: a translucent background is assumed to sit on white.
Was this tool helpful?
Check the WCAG 2.2 contrast ratio of a text and background colour, with AA and AAA verdicts and the nearest passing colour.
Generate colour palettes from a base colour and a harmony, or at random with locks, then export CSS, tokens, Tailwind or a PNG.
Build a small design-token set - colours, type scale, spacing, radii and shadows - and export CSS variables, DTCG JSON or Tailwind.
See an image or a set of colours as people with protanopia, deuteranopia, tritanopia and other colour vision deficiencies see them.
Convert a colour between HEX, RGB, HSL, HSV, HWB, CMYK and OKLCH, with contrast against black and white.
Generate placeholder paragraphs, sentences or words, in classic Latin or in Arabic filler text.