P
Guides
Language
Tools
Password & Security
P
Password Strength Checker
Score any password and estimate crack time
P
Password Generator
Create strong random passwords up to 128 chars
R
Random String Generator
Random tokens, IDs and keys with any charset
P
Passphrase Generator
Memorable multi-word passphrases (Diceware)
T
TOTP / 2FA Code Generator
Time-based one-time codes and otpauth secrets
P
Password Breach Checker
Check if a password appeared in known breaches
Hash & Crypto
S
SHA-256 Generator
Hash text to a 64-char SHA-256 digest
M
MD5 Generator
Compute the 32-char MD5 checksum of any text
S
SHA-1 Generator
Generate the 40-char SHA-1 hash of any input
S
SHA-512 Generator
Hash text to a 128-character SHA-512 digest
H
HMAC Generator
HMAC-MD5, SHA-1, SHA-256 & SHA-512 with secret key
B
bcrypt Generator / Checker
Hash passwords with bcrypt and verify hashes
P
PBKDF2 Key Derivation
Derive keys from a password with salt and iterations
A
AES Encrypt / Decrypt Text
Encrypt text with AES-256-GCM and a password
F
File Hash / Checksum
Compute SHA hashes of any file locally
Networking
I
IP Address Checker
Identify IPv4 vs IPv6, public/private and more
I
IPv4 Calculator
Network, broadcast, hosts, subnet mask & wildcard
I
IPv6 Calculator
Expand, compress and subnet IPv6 addresses
S
Subnet Calculator
CIDR ranges, wildcard masks and usable hosts
M
MAC Address Generator
Random valid MAC addresses, unicast or multicast
P
Port Checker
Learn what each TCP/UDP port number means
D
DNS Lookup
Resolve A, AAAA, MX, NS, TXT and CNAME records
W
WHOIS Lookup
Domain registration, expiry and registrar info
Web & HTTP
H
HTTP Header Analyzer
Security, caching & SEO headers explained
U
User-Agent Parser
Decode browser, OS and device from any UA
M
MIME Type Lookup
File extension to MIME type reference
H
HTTP Status Code Lookup
Every status code 1xx–5xx explained
U
URL Encoder / Decoder
Percent-encode URLs and parse query strings
C
Color Contrast Checker (WCAG)
Check text contrast against WCAG AA & AAA
here
Developer Utilities
U
UUID / ULID Generator
UUID v4, v7, ULID and NanoID in bulk
J
JWT Decoder & Signer
Decode, inspect and sign JSON Web Tokens
B
Base64 Encoder / Decoder
Encode and decode Base64, standard or URL-safe
Q
QR Code Generator
QR codes for links, Wi-Fi and vCards
J
JSON Formatter & Validator
Format, minify and validate JSON instantly
T
Unix Timestamp Converter
Convert Unix timestamps to dates and back
R
Regex Tester
Test regular expressions with live matches
D
Diff Checker
Compare two texts and highlight differences
L
Lorem Ipsum Generator
Placeholder paragraphs, sentences or words
N
Number Base Converter
Convert between binary, octal, decimal and hex
C
Color Converter (HEX / RGB / HSL)
Convert colors and copy HEX, RGB or HSL
C
CSV to JSON Converter
Convert CSV to JSON and JSON back to CSV
C
Case Converter & Slug Generator
camelCase, snake_case, kebab-case, Title & slug
W
Word & Character Counter
Words, characters, sentences and reading time
Color Contrast Checker (WCAG) · 100% Private
100% Free · No Signup · No Server

Color Contrast Checker (WCAG)

Make sure your text is readable for everyone. Enter a text colour and a background colour to see the exact WCAG contrast ratio and whether it passes the AA and AAA thresholds for normal and large text. Great for accessibility reviews and design systems.

Exact WCAG ratio
AA & AAA checks
Text & background preview
One-click copy
Advertisement
Advertisement
Trusted & free

It is completely free, private and requires no signup.

Set security headers

CSP, HSTS and X-Frame-Options harden your site.

Cache wisely

Use Cache-Control to speed up repeat visits.

Test on mobile

Verify headers and pages render well on small screens.

You might also like
21:1
Max ratio
4.5:1
AA normal text
7:1
AAA normal text
WCAG 2.1
Standard
Step by Step

How it works

Make sure your text is readable for everyone. Enter a text colour and a background colour to see the exact WCAG contrast ratio and whether it passes the AA and AAA thresholds for normal and large text. Great for accessibility reviews and design systems.

Enter a HEX value or use the colour picker for the text.

Do the same for the background — the ratio updates live.

See which WCAG levels pass and adjust the colours if needed.

Examples & Data

Examples & Data

Foreground Background Ratio
#000000 #ffffff 21:1
#767676 #ffffff 4.54:1
#777777 #ffffff 4.48:1
#ffffff #10b981 2.5:1

Small changes matter: #767676 passes AA, while #777777 just misses it.

All tools

Password Strength Checker
Score any password and estimate crack time
Password Generator
Create strong random passwords up to 128 chars
Random String Generator
Random tokens, IDs and keys with any charset
Passphrase Generator
Memorable multi-word passphrases (Diceware)
TOTP / 2FA Code Generator
Time-based one-time codes and otpauth secrets
Password Breach Checker
Check if a password appeared in known breaches
SHA-256 Generator
Hash text to a 64-char SHA-256 digest
MD5 Generator
Compute the 32-char MD5 checksum of any text
SHA-1 Generator
Generate the 40-char SHA-1 hash of any input
SHA-512 Generator
Hash text to a 128-character SHA-512 digest
HMAC Generator
HMAC-MD5, SHA-1, SHA-256 & SHA-512 with secret key
bcrypt Generator / Checker
Hash passwords with bcrypt and verify hashes
PBKDF2 Key Derivation
Derive keys from a password with salt and iterations
AES Encrypt / Decrypt Text
Encrypt text with AES-256-GCM and a password
File Hash / Checksum
Compute SHA hashes of any file locally
IP Address Checker
Identify IPv4 vs IPv6, public/private and more
IPv4 Calculator
Network, broadcast, hosts, subnet mask & wildcard
IPv6 Calculator
Expand, compress and subnet IPv6 addresses
Subnet Calculator
CIDR ranges, wildcard masks and usable hosts
MAC Address Generator
Random valid MAC addresses, unicast or multicast
Port Checker
Learn what each TCP/UDP port number means
DNS Lookup
Resolve A, AAAA, MX, NS, TXT and CNAME records
WHOIS Lookup
Domain registration, expiry and registrar info
HTTP Header Analyzer
Security, caching & SEO headers explained
User-Agent Parser
Decode browser, OS and device from any UA
MIME Type Lookup
File extension to MIME type reference
HTTP Status Code Lookup
Every status code 1xx–5xx explained
URL Encoder / Decoder
Percent-encode URLs and parse query strings
Color Contrast Checker (WCAG)
Check text contrast against WCAG AA & AAA
UUID / ULID Generator
UUID v4, v7, ULID and NanoID in bulk
JWT Decoder & Signer
Decode, inspect and sign JSON Web Tokens
Base64 Encoder / Decoder
Encode and decode Base64, standard or URL-safe
QR Code Generator
QR codes for links, Wi-Fi and vCards
JSON Formatter & Validator
Format, minify and validate JSON instantly
Unix Timestamp Converter
Convert Unix timestamps to dates and back
Regex Tester
Test regular expressions with live matches
Diff Checker
Compare two texts and highlight differences
Lorem Ipsum Generator
Placeholder paragraphs, sentences or words
Number Base Converter
Convert between binary, octal, decimal and hex
Color Converter (HEX / RGB / HSL)
Convert colors and copy HEX, RGB or HSL
CSV to JSON Converter
Convert CSV to JSON and JSON back to CSV
Case Converter & Slug Generator
camelCase, snake_case, kebab-case, Title & slug
Word & Character Counter
Words, characters, sentences and reading time

Ready to try it?

It is completely free, private and requires no signup.

Use the tool now
100% Free No signup Private & secure
Advertisement
Help Center

Frequently Asked Questions

A number from 1:1 to 21:1 that measures the difference in luminance between two colours. Higher means more readable. Black on white is the maximum 21:1.

For normal text, AA needs 4.5:1 and AAA needs 7:1. For large text (18pt+ or 14pt bold) AA needs 3:1 and AAA needs 4.5:1.

Indirectly. Readable text improves user engagement and accessibility, which search engines reward. It is also a legal requirement in many countries.

No. Plenty of branded colours pass AA. Just check the ratio and darken or lighten as needed.

Advertisement