Color contrast

Color contrast checker online

Check the color contrast

Contrast:

Proportion:

Checking with a quote

"When Halley's Comet flew by, it seemed to me it looked back at us and laughed."

Lina Kostenko

269

How does Contrast Checker work?

Hello! The task of the color contrast checker is to verify whether two colors have sufficient contrast. Color contrast plays an important role in ensuring text readability and the perception of essential elements on a web page. This page provides you with the opportunity to check the contrast between the background color and the text, so you can ensure that your content is easily readable even for people with different visual abilities.

To determine contrast, brightness values (which are defined as the sum of three primary colors - red, green, and blue) of each color are used. Using these values, contrast is calculated using a formula that takes into account the difference in color brightness.

The calculation results in a number ranging from 1 to 21, indicating the level of contrast between the colors. The best result is 21, which signifies maximum possible contrast. Our color contrast check employs a ratio to measure contrast between two colors. It is defined as the ratio of the brightness (measured on a scale from 0 to 255) of the text to the background. When using the Color Contrast Checker, you input the brightness values of the text and background, and then obtain a result in the form of a ratio. This number indicates how contrasty the colors are. Generally, higher ratio values indicate better contrast. According to the web standard WCAG (Web Content Accessibility Guidelines), the minimum recommended ratio for general text is 4.5:1, while for headings and larger text used to denote important elements, the recommended ratio is 3:1.

The color contrast checker can help you choose colors that have sufficient contrast to ensure comfortable content viewing on a web page for all users, regardless of their visual abilities. Some tools may also recommend colors with appropriate contrast levels to enhance content accessibility on a web page. We hope that the Contrast Checker will assist you in setting the text contrast correctly on your page, making it easily readable for all users. We also recommend using our palette generator and color converter, which allow you to create the perfect color palette for your projects and convert HEX colors into popular formats.

New palettes:

A charming palette of delicate pink shades
A palette of pastel shades of blue and pink
A palette of delicate pastel shades of pink and green
A colorful palette in a dark style, unfolding with mysterious shades of red
A dark and monochromatic palette that offers shades of green
An incredible palette, where subtle shades of blue, yellow, red and azure dance in a pastel style
The golden star, which reveals an incredible palette with bright shades of yellow, will be the pinnacle of your project.
A retro-inspired palette that combines cool shades of orange, yellow and blue.
A sophisticated color palette featuring delicate shades of blue, orange, green and yellow
A charming palette expressed in very delicate and monochromatic shades of pink.
A unique palette, where delicate red, green and blue colors are felt, creating the tenderness of nature.
A unique palette that mixes shades of green and red, creating a unique play of light and shadow.
A unique palette that includes gloomy shades of gray
A sophisticated palette where shades of yellow, green, pink and purple shine, creating a delicate pastel style.
A unique palette where pastel shades of blue and green shine
An elegant pastel palette with shimmering shades of blue and pink.
A charming palette that reveals shades of delicate purple
A fascinating palette that shines with shades of vintage chic that will make your project irresistible
A palette that comes to life in dark red shades, transporting us to a world where the magic of red inspires the creation of a modern project.
A retro cocktail palette that blends shades of pink, green and blue to reveal the richness of time.
A palette where pastel, warm and golden shades of orange bloom like delicate flowers, giving us a sense of peace and harmony.
A palette where blue, red and orange dance together like a living flame
A colorful palette, where shades of orange, yellow and purple are spilled with gentle touches, like unique memories of past moments
A glass of shades where pink and yellow intertwine like soft butterfly wings

Checking with a quote

"When Halley's Comet flew by, it seemed to me it looked back at us and laughed."

Click to exit

Click to exit

Saved Saved An invalid HEX color format was entered!