Sanyanggae LogoSanyanggae

Web toolsImage palette and contrast

Image palette and contrast

Processed on your device

Find representative image colors, copy HEX and RGB values, and check text against its background.

Choose one image palette color for text and check its contrast ratio against a white background.

Images and file names are not sent to servers, analytics or advertising settings, or saved. Site visit analytics are separate.

Choose an image or adjust the two colors.

Representative palette

Still PNG, JPG, WebP or BMP: up to 20 MiB, 4,096 px per edge and 4,194,304 pixels total.

Contrast ratio

Preview text with this color pair.

Normal text AA:

Large text AA:

AA requires 4.5:1 for normal text and 3:1 for large text. Large text is generally at least 24 CSS px, or 18.67 CSS px when bold.

WCAG 2.2 — 1.4.3

How to use

  1. Open an image to see up to six representative colors.
  2. Copy a color value or select a swatch to set the text color.
  3. Change the text and background colors to check the ratio and preview.

Things to know

  • The palette approximates an image reduced to at most 192×192 pixels; pixels below 50% opacity are excluded.
  • Pass results use the unrounded sRGB ratio. This is not an accessibility certification for a whole page.

Use images you have permission to open or edit.