← TypographyEdit
Free tool

Text contrast checker for video: palettes, frames and the backing box you need

Web contrast checkers compare two flat colours. Text in a video sits on clouds, faces and sun glare, so one ratio isn't enough. Check your palette here, then open a frame, drag a box where the words go, and see the worst pixel under them and the lightest backing box that brings it up to 4.5:1.

1. Check a palette

Three colours, in the order TypographyEdit's Colors panel uses. For any other app, put your text colour in Text and ignore the rows you don't need.

WhatSampleRatio4.5:13:17:1Nearest fix for 4.5:1
Text on Background
Every normal word
Aa word18.88:1PassPassPassAlready passes
Highlight on Background
Keywords
Aa word6.34:1PassPassFailAlready passes
Highlight on its own box
Keywords with Background highlight on
Aa word5.52:1PassPassFailAlready passes
BG word on Background
Words set to BG, drawn at 25% opacity on purpose
Aa word2.23:1FailFailFailMeant to recede. Don't put words the viewer must read here.

Fixes keep the hue and saturation and move only lightness, so the colour still looks like yours.

2. Check text over a frame

Open a still or a video, drag a box where the text will sit, and see every pixel that is too close to your text colour, plus the lightest backing box that fixes it.

Sample frame: a dusk sky with sun glare, drawn by this page.

Magenta pixels fail the target. Check the frames where the background is brightest or busiest, not just the first one.

Black box needed
…
White box needed
…

Drag a box on the frame and enter a hex text colour.

Runs in your browser. Images and videos never leave your device. Large frames are scaled to 960 px on the long side before checking.

The median lies: one frame, three numbers

Load the sample frame and leave the box where it starts: a band across the middle, from the dusk sky into the sun's glare. White text. The tool reports a median of 5.09:1, so a single colour-picker reading from the middle of that band would pass AA. The worst pixel is 1.00:1, which is white on white, and only 56.3% of the pixels under the line reach 4.5:1. The word that lands on the glare disappears.

W3C's failure technique for text on images, F83, is explicit about which number counts: contrast against "those parts of the image that are most like the text and behind the text". That's the worst pixel, not the average. So the tool leads with the minimum and offers "all but the worst 1%" only as a way to ignore compression specks and stray highlights.

The fix it suggests for that band is a black box at 54% opacity for 4.5:1, or 42% if the text is big enough to count as large (3:1). Every pixel under a 54% black box then passes against white. Dark text is the other route: #111111 needs only a 23% white box there, because the glare is already close to white. Drag the box up into the plain blue sky and white text passes with no box at all (worst pixel 9.39:1), while #111111 fails on every pixel (median 1.72:1) and would need a 37% white box. Same frame, opposite answers, a few hundred pixels apart.

How the numbers are worked out

The ratio is the one in WCAG 2.2: (L1 + 0.05) / (L2 + 0.05), where L1 and L2 are the relative luminance of the lighter and darker colour, each channel linearised from sRGB with the 0.04045 threshold the definition has used since May 2021. The range runs from 1:1 to 21:1.

Two details trip up homemade checkers. First, ratios are truncated, not rounded: Understanding 1.4.3 says 4.499:1 does not meet 4.5:1. That's why #777777 on white shows as 4.47:1 and fails, while #767676 shows 4.54:1 and passes. Second, the backing box is blended in plain 8-bit sRGB values. An editor that blends layers in linear light will give a slightly different result, so leave a little headroom.

For the frame, the tool computes that ratio between your text colour and every pixel inside the box, after laying the backing box over it. Then it tries box opacities from 0% to 100% in 1% steps and reports the first that passes. It scans instead of bisecting because the ratio isn't always monotonic: if a pixel starts lighter than light text, darkening it first lowers the contrast to 1:1, then raises it.

Which target on a phone

WCAG asks for 4.5:1 for normal text and 3:1 for large text, which it defines as 18 point, or 14 point bold. Understanding 1.4.3 converts those to roughly 24 and 18.5 CSS pixels. WCAG was written for web content, not burned-in video text, so treat it as a well-tested yardstick rather than a spec written for video.

To use the large-text threshold you need to know how big your words end up on screen. If a 1080-pixel-wide vertical video fills the width of a screen W CSS pixels wide, a font size of F pixels in the frame shows at F × W / 1080 CSS pixels. So the frame size at which text counts as large depends on the screen:

Screen width (CSS px)Large text, regular (≥ 24 CSS px)Large text, bold (≥ 18.5 CSS px)
36072 px font size in a 1080-wide frame56 px
39067 px font size in a 1080-wide frame52 px
43061 px font size in a 1080-wide frame47 px

Kinetic typography headlines are usually well above that size, so 3:1 is a fair target for them. Small supporting lines, captions under a talking head and anything in a 16:9 video watched on a phone held upright are a different story. Use 4.5:1 for those.

TypographyEdit's own colours, checked

TypographyEdit draws text on a solid background, so the palette checker is the one that applies to it directly. A Classic project starts with a #111111 background, #FFFFFF text and a #FF6321 highlight; you change all three in the Colors panel. We read the renderer to see which colour pairs actually reach the screen, and the first preset button above loads them:

  • Normal words: white on #111111 is 18.88:1. Nothing to fix.
  • Keywords: the orange highlight on #111111 is 6.34:1. Passes AA at any size, misses AAA's 7:1.
  • Keywords with "Background highlight" on: the box behind a keyword is the highlight colour at about 12% opacity, and the word itself stays orange. That lifts the area behind the word to #2D1B13 and drops the ratio to 5.52:1. Still a pass, but a bright highlight on a mid-tone background can tip under 4.5:1 once the box is on. Check that row when you pick a lighter background.
  • BG words: words you set to BG in word mode are drawn in the text colour at 25% opacity. On the defaults that's #4D4D4D on #111111, 2.23:1. That's deliberate: they're texture, meant to sit behind the words you read. Don't put anything the viewer needs in BG.

The trap is flipping the palette for a brand colour. White on a #FF6321 background is 2.97:1. It fails 4.5:1 and even misses the 3:1 large-text bar. Near-black #111111 on the same orange gives 6.34:1. If the background has to be orange, use dark text. The "White on orange" preset shows it.

TypographyEdit can't put words over footage; its scenes are solid colour. If you lay its MP4 over video in another editor, or add your own captions over B-roll in CapCut, Premiere or Edits, that's where the frame checker earns its place. Export a still from the busiest moment and check it there.

What broadcast captioners do instead

The BBC Subtitle Guidelines avoid the whole problem. Most BBC subtitles are white text on a black background, and in their EBU-TT-D files the background must be set to solid black, with no opacity allowed. When colour marks different speakers, the order is white, yellow (#FFFF00), cyan (#00FFFF) and green (#00FF00), all on black. On black those score 21:1, 19.55:1, 16.74:1 and 15.30:1. None comes close to failing.

Social video rarely wants an opaque black bar. The frame checker gives you the middle ground: the least box you can get away with on this particular shot, which is often much less than 100%.

What it can't see

  • Outlines and shadows. Understanding 1.4.3 treats a narrow border around letters as part of the letter and a wide halo that fills the counters as background. The tool doesn't know about either. If your text has a heavy stroke, check the stroke colour against the frame instead.
  • Motion. It checks one frame. A pan can move a bright window behind the words two seconds later. Scrub the video slider to the worst frame.
  • Edges of letters. It measures your chosen text colour, not anti-aliased edge pixels, which is also how WCAG says to evaluate. Thin fonts still read worse than the ratio suggests.
  • Colour vision. The ratio is about lightness only. Red on green with a passing ratio can still look alike to some viewers. Keep meaning out of hue alone.
  • The platform's own layers. App buttons and captions sit on top of your video. Check placement with the 9:16 safe zone checker.

Related

Sources

All external pages checked December 3, 2026. Ratios on this page are computed by the code that runs the tool. TypographyEdit colour behaviour read from the editor's renderer on December 3, 2026. CapCut, Premiere and Edits are trademarks of their respective owners. TypographyEdit is not affiliated with the W3C or the BBC.