WCAG contrast
Ratio of this colour against a white and a black background, with the WCAG 2.1 thresholds.
Against white6.29:1AA text passAA large passAAA text failAAA large pass
Against black3.34:1AA text failAA large passAAA text failAAA large fail
Tint & shade ramp
Colour maths runs on your device, nothing about your palette is uploaded.
How it works
Color Converter : HEX, RGB, HSL, HSV and WCAG Contrast
Pick a colour or paste any HEX, RGB, HSL or HSV value: every field updates together. You also get the WCAG contrast ratio against white and black, and a copyable tint and shade ramp.
What this does
- HEX, RGB, HSL and HSV fields that all rewrite the moment one of them changes
- HEX accepts 3, 6 or 8 digits, the alpha pair in an 8-digit value is discarded
- Contrast against white and against black, badged for AA text, AA large, AAA text and AAA large
- An 11-step ramp: five tints toward white, the base colour, five shades toward black
- RGB, HSL and HSV inputs are read loosely, so any three numbers in the box will do
FAQ
Keep going