Color Tool
Color converter
Convert a brand color
Paste HEX, RGB, HSL, OKLCH, or a CSS named color. Alpha values are preserved while you convert and copy.
Contrast checker
Check text and interface contrast
Foreground
Background
Underlying surface
Used underneath a translucent background. If it is translucent too, the checker composites it over white.
—contrast ratio
- AA normal text4.5:1
- AAA normal text7:1
- AA large text3:1
- AAA large text4.5:1
- UI components and graphics3:1 when applicable
Large text means at least 18pt (about 24px), or 14pt (about 18.5px) when bold. Pass/fail uses the unrounded ratio.
Preview
Make the important message easy to read
This body copy shows the foreground composited over the final background.
The reported ratio checks the sample label against its fill. It does not claim that the button boundary contrasts with the surrounding page.