Devscape Tools

Developer

Color Contrast Checker

Calculate WCAG contrast for two hex colors and check AA and AAA thresholds.

How to use this tool

Example use case

Check foreground and background colors before shipping a UI.

  1. Paste an input or choose Load example.
  2. Fill in the additional setting when required.
  3. Select Run tool. Review the result, then copy or download it.
Sample input
#1e293b
#ffffff
JavaScript & TypeScript PlaygroundCode Snapshot PNGJSON Formatter & DiffCSV to JSONCSV Column CleanerUnix Timestamp ConverterURL Encoder & DecoderBase64 File & TextMarkdown Table EditorCSS Gradient GeneratorCron Schedule ExplainerSearch & Social PreviewSHA Hash GeneratorHMAC GeneratorAES-GCM Text EncryptionPBKDF2 Key DerivationSecure Random BytesRSA-OAEP Key PairIPv4 & IPv6 Address InspectorIPv4 & IPv6 CIDR CalculatorPublic DNS LookupHostname & IDN CheckerURL Inspectorjq PlaygroundJSON Tree ViewerJSON Schema ValidatorJSON to TypeScriptJSONPath TesterYAML ↔ JSONCSV and TSV ToolkitOpenAPI ViewerHTTP Request BuilderURL Query BuilderHTTP Header InspectorRegex TesterCron Next-Run CalculatorTime Zone ConverterJWT Claim DecoderUUID & ULID GeneratorSHA-256 ChecksumEnvironment File ComparisonLocal Log ViewerUnicode InspectorPayload Size CalculatorCSS Box Shadow GeneratorColor Contrast CheckerCSS Clamp CalculatorLocal SVG PreviewPNG Favicon Generator