Compare colors side by side
Drop in two to five colors and instantly see HEX, RGB, and HSL values plus the contrast ratio between any pair.
Add 2–5 colors to compare them side by side.
Contrast between
ColorCompare lets you place several colors next to each other so you can judge them the way they will actually appear in your design — together, not in isolation. A color almost never lives alone; it sits beside a background, a label, a button, or another swatch, and its perceived hue and brightness shift depending on its neighbors.
Each swatch shows its HEX, RGB, and HSL representation, and the tool calculates the WCAG contrast ratio between any pair you choose. That makes it easy to spot which combinations are comfortable to read and which ones clash or wash out.
How to use the Color Compare
- Add your colors. Type or paste a HEX code into each input. Add up to five colors to compare a full mini-palette at once.
- Read the values. Every swatch lists HEX, RGB, and HSL. Use the copy button to grab any value in one click.
- Check the contrast. Pick any two swatches to see the contrast ratio between them and whether it passes WCAG AA for text.
Practical examples
Why the Color Compare matters
- Comparing colors together — rather than picking them one at a time — prevents the common problem of a palette that looks fine swatch-by-swatch but muddy as a whole.
- Seeing HEX, RGB, and HSL side by side helps you reason about relationships: HSL in particular makes it obvious when two colors share a hue but differ in lightness.
- The built-in contrast number turns a subjective ‘does this look readable?’ into a measurable check you can defend in a design review.
Frequently asked questions
How many colors can I compare at once?
You can compare between two and five colors at a time, which covers most palettes, UI states, and brand sets.
Which color formats are supported?
Enter colors as HEX codes. Each swatch is then shown in HEX, RGB, and HSL so you can copy whichever format your workflow needs.
What contrast standard do you use?
Contrast ratios follow the WCAG 2.1 formula, the same standard used for web accessibility. A ratio of 4.5:1 or higher passes AA for normal text.