Skip hex conversion for contrast checks. Paste your hex values
Settings
Documentation
Paste Hex, RGB, HSL, or OKLCH. We will convert it and run the contrast check.
Swap
Recents
Contrast Ratio Score
1.0
3.0
4.5
7.0
21.0
1.0 - 3.0
3.0 - 4.5
4.5 - 7.0
7.0 - 21.0
Large Text
Text that is 24px or larger in regular weight, or 19px or larger in bold.
Regular Text
Text smaller than 24px in regular weight, or smaller than 19px in bold.
Graphic Elements
Non text UI parts like icons, borders, dividers, focus rings, strokes, and component outlines.
At a glance
Hard to read. This contrast is likely to strain or disappear in real UI. Increase contrast before using it for text.