Color Contrast Checker
Check text and background colors against WCAG AA and AAA, preview them, and get the nearest color that passes.
Complementary, analogous, triadic and more from one color, plus a 50–950 shade scale to export as CSS or Tailwind.
Start from one color and build a palette around it: complementary, analogous, triadic, split-complementary, tetradic or monochromatic. Pick any color in it to generate a full 50–950 shade scale in OKLCH, marked with which shades are readable on white or black, and export it as CSS variables, a Tailwind CSS v4 theme or JSON.
In OKLCH, so equal steps look equal to the eye. The lightness of each step follows Tailwind CSS v4's default palette, chroma tapers towards white and black, and any shade that would fall outside the sRGB range loses a little chroma rather than changing its hue or lightness.
Yes. The Tailwind export is an @theme block for Tailwind CSS v4: paste it into your main CSS file and classes such as bg-brand-500 and text-brand-900 work straight away.
No. The tool runs in this browser tab. What you paste is never sent to KuponGuru, and it is gone when you close the tab.
Check text and background colors against WCAG AA and AAA, preview them, and get the nearest color that passes.
Convert any color between HEX, RGB, HSL, OKLCH, HSV and CMYK — type it the way you have it, copy it the way you need it.
Linear, radial and conic gradients with up to eight color stops, a live preview, and CSS or Tailwind to copy.
Looking for something else? Browse every tool.
Harmony
Built in OKLCH with Tailwind CSS v4’s lightness steps. “AA on white” means the shade passes 4.5:1 as text on white.
Exported as brand-50 … brand-950
Format
CSS custom properties
:root {
--brand-50: #eef7fa;
--brand-100: #daecf3;
--brand-200: #bddfeb;
--brand-300: #92cbe0;
--brand-400: #42afd2;
--brand-500: #0995b9;
--brand-600: #007d9b;
--brand-700: #036a85;
--brand-800: #01576d;
--brand-900: #014a5d;
--brand-950: #002f3c;
}