Contrastly – Color contrast checker

Contrast Check Results

Contrast ratio: 5.16:1

Normal text
AAPass≥4.5AAAFail≥7
Large text
AAPass≥3AAAPass≥4.5

Color Selector

Palette picks go to Foreground

Color palette

Tailwind CSS v4 palette

Tailwind CSS color palette. Shades 50 to 950 for each color. Select a swatch to apply the color.
Color50100200300400500600700800900950
slate
gray
zinc
neutral
stone
red
orange
amber
yellow
lime
green
emerald
teal
cyan
sky
blue
indigo
violet
purple
fuchsia
pink
rose

AboutContrastly

Contrastly is a lightweight color contrast checker for designers and developers. Pick foreground and background colors from Tailwind CSS, Radix Colors, Open Color or shadcn/ui themes—or from a palette of your own—and see WCAG results update as you go.

Results use the criterion that fits what you are checking: text (SC 1.4.3 / 1.4.6), UI components, icons and data graphics (SC 1.4.11), and focus indicators (SC 2.4.13). Bring in your colors by pasting CSS variables or importing design tokens (DTCG, Tokens Studio, Style Dictionary), save the colors you test, and export your palette for Figma or CSS. Your palettes are stored only in your browser.

How the contrast is calculated

Contrastly uses the WCAG 2.x contrast ratio formula: (L1 + 0.05) / (L2 + 0.05), where L1 is the relative luminance of the lighter color and L2 that of the darker color, both calculated from sRGB values.

The result is a reference for everyday design work, not a substitute for a full accessibility audit.