3 All Tools⌘Kquick search

Converter Β· Color & Design

Debug APIs, clean content, format data, and run release checks directly in your browser.

Focused on Color & Design with 3 tools. Use search to narrow down quickly.

⌘K

Separate color notation, palette choice and readability

Converting HEX to RGB preserves a color value. Generating a palette proposes combinations. Contrast checking measures one foreground/background pair; none of these operations can substitute for the others.

A baseline pair with a known contrast ratio

#000000 = rgb(0, 0, 0)
#ffffff = rgb(255, 255, 255)
Opaque black on opaque white: 21:1

Use the black/white pair to confirm you selected the intended inputs. Then replace both with the real colors. For WCAG 2.x AA text checks, the usual thresholds are 4.5:1 for normal text and 3:1 for qualifying large text.

Contrast of a flat pair does not evaluate gradients, images, focus indicators, font rendering or the accessibility of the whole page.