Проверяйте коэффициент контрастности между двумя цветами по уровням доступности WCAG AA и AAA.
Как использовать Проверка контраста
Выберите цвет текста и цвет фона.
Прочитайте коэффициент контраста и значки WCAG.
Корректируйте цвета до достижения нужного уровня.
This is a WCAG color contrast checker that shows the exact contrast ratio between a text color and a background color, and whether it meets the AA and AAA accessibility levels. Pick colors with the swatch or by hex code and see a live preview.
Adjust the two colors until the badges pass the level you need, and the result updates instantly as you go.
Text that is too close in lightness to its background is hard or impossible to read, especially for people with low vision or color vision deficiencies, or for anyone on a phone in bright sunlight. Enough contrast keeps your content legible for everyone.
The Web Content Accessibility Guidelines (WCAG) set the standard. AA, the level most sites aim for and that many accessibility laws reference, requires a ratio of 4.5:1 for normal text and 3:1 for large text. AAA is stricter at 7:1 and 4.5:1.
Large text gets a lower threshold because bigger letters stay legible at less contrast. It counts as large at roughly 24px (18pt), or 18.66px (14pt) when bold.
The ratio comes from the relative luminance of the two colors using the official WCAG formula, producing a value from 1:1 (no contrast, identical colors) up to 21:1 (black on white).
Everything is calculated in your browser, so it is instant and private. Nothing you pick is uploaded anywhere.
Часто задаваемые вопросы
WCAG AA требует 4,5:1 для обычного текста и 3:1 для крупного (18pt или 14pt жирный). AAA требует 7:1 и 4,5:1 соответственно.
Текст размером не менее 24px (18pt) или 18,66px (14pt) при жирном начертании. Крупный текст допускает более низкий коэффициент контраста.
По относительной яркости каждого цвета с использованием официальной формулы WCAG, дающей значение от 1:1 (нет контраста) до 21:1 (чёрный на белом).
Встроить этот инструмент
Добавьте этот инструмент на свой сайт. Скопируйте фрагмент ниже, он обновляется автоматически.
<iframe src="https://monu.tools/embed/ru/color-contrast-checker" width="100%" height="640" style="border:1px solid #e5e5e5;border-radius:12px;max-width:680px" loading="lazy" title="Monu Tools"></iframe>Похожие инструменты
Форматируйте и украшайте SQL-запросы с разбивкой по предложениям и согласованным регистром ключевых слов, или минифицируйте до одной строки.
Украшайте XML с правильными отступами или минифицируйте до одной строки. Комментарии, CDATA и инструкции обработки сохраняются.
Украшайте CSS с чистыми отступами или минифицируйте для уменьшения размера файла. Обрабатывает медиазапросы, calc() и лицензионные комментарии.
Украшайте HTML с умными отступами или минифицируйте. Содержимое pre, textarea, script и style сохраняется.