Input
Foreground #000000 / Background #ffffff
Output
Contrast 21:1, AA/AAA pass
Design Tools
Calculate foreground/background contrast with WCAG 2.0 rules and check AA/AAA for normal and large text. Useful for accessible palettes and frontend readability review.
Favorite this tool
No favorite storage mode has been selected.
Quick actions
Copy this tool URL or open the system share sheet on a supported device.
设计配色
WCAG 对比度
已复制结果
Input
Foreground #000000 / Background #ffffff
Output
Contrast 21:1, AA/AAA pass
AA requires at least 4.5:1 for normal text and 3:1 for large text. AAA is stricter: 7:1 for normal text and 4.5:1 for large text.
Calculation uses HEX values. Use the picker or paste #RRGGBB.
Tools
Continue with another translated tool for a nearby task.
Color Converter
Convert colors among HEX, RGB, HSL, HWB, CMYK, and CSS variables in your browser. Includes a color picker and random color helper for design handoff, stylesheet work, and brand-color alignment.
Batch Contrast Checker
Check WCAG contrast for many foreground/background pairs at once. See AA/AAA levels and text previews—useful for design-system audits, brand-color batches, and accessibility reviews.
Color Harmonizer
Pick a base color and generate schemes with complementary, analogous, triadic, tetradic, split-complementary, or monochromatic rules. Preview UI usage and export CSS variables for brand and component work.