Colors
Contrast ratio:
Quick tip: usually you want a ratio 4.5 or higher. Details in the contrast ratio guidelines below.
Contrast Sample
Sample - Color 1 as background and Color 2 as text:
The quick brown fox jumps over a lazy dog. My girl wove six dozen plaid jackets before she quit. Brown jars prevented the mixture from freezing too quickly. How vexingly quick daft zebras jump!
Sample - Color 2 as background and Color 1 as text:
The quick brown fox jumps over a lazy dog. My girl wove six dozen plaid jackets before she quit. Brown jars prevented the mixture from freezing too quickly. How vexingly quick daft zebras jump!
CSS Variables
For ease of development, below are the CSS variables corresponding to your color selections.
--color-1: ;
--color-2: ;
Instructions
- This tool is instant updating, so any change you make to the colors will instantly update the Contrast Results section.
- CSS variables are outputed for convience of copy/paste.
What does this tool do, when should I use it?
This quickly checks contrast between 2 colors. If you want a tool that generates colors for you starting with your brand colors, then use the Full Color & Font Builder.
If you want a tool that allows you to check several foreground colors against several background colors, use the Quick Colors tool.