FastOS Tools
FastOS Tools

Color Contrast Checker

Check color contrast ratio for WCAG compliance. Ensure your colors meet accessibility standards.

Color Contrast Checker

Sample Text

This is how your text will look

Introduction

The Color Contrast Checker tool calculates contrast ratios between foreground and background colors and evaluates them against WCAG accessibility standards. It helps ensure your designs are readable for more users.

When to use this tool

Use this tool whenever you choose text and background colors for UI elements, especially for buttons, links, and body text.

How to use

1

Enter foreground and background colors

Provide colors in HEX, RGB, or other supported formats for text and its background.

2

Check contrast ratio

See the computed contrast ratio and whether it meets WCAG AA or AAA requirements for different text sizes.

3

Adjust colors if needed

Tweak either color until the ratio passes the desired accessibility level.

Examples

Validating a brand color palette

Ensure your chosen brand colors still provide enough contrast when used for body text on white or dark backgrounds.

FAQ

Related tools