Black on red #ff0000: 5.25:1 contrast
Black text on bright red, sometimes chosen for sale banners.
Your colours
#000000 · rgb(0, 0, 0) · hsl(0, 0%, 0%)
#ff0000 · rgb(255, 0, 0) · hsl(0, 100%, 50%)
Try an example
Result
5.25:1
Passes AA for normal text
Contrast ratio 5.25 to 1. Passes AA for normal text.
Large text: book your visit today
Normal text: opening hours, prices and contact details need to be easy to read for everyone, including people on a phone in bright sunlight.
- Pass
AA, normal text
Needs 4.5:1 · Body text and most labels. The level most laws and policies ask for.
- Pass
AA, large text
Needs 3:1 · Text from 24px, or 18.66px and bold.
- Fail
AAA, normal text
Needs 7:1 · The enhanced level. Worth aiming for on long reading.
- Pass
AAA, large text
Needs 4.5:1 · Large text at the enhanced level.
- Pass
Buttons, icons and borders
Needs 3:1 · Parts of controls and graphics you need to see (WCAG 2.2, 1.4.11).
Fix it: the closest colours that pass
Same hue, smallest change. Pick one to try it in the preview above.
Your colours already reach AA for normal text. Nothing to change.
How it looks with colour-blindness
About 1 in 12 men and 1 in 200 women have some form of colour-vision deficiency. These previews are an approximation, and the ratio is measured on the simulated colours.
Heads up: this pair passes for most people, but drops to 3.29:1 in the protanopia view.
Aa
Sample text
Protanopia
No red cones. Reds look dark and muddy.
3.29:1Below AAAa
Sample text
Deuteranopia
No green cones. The most common type.
6.55:1AAAa
Sample text
Tritanopia
No blue cones. Rare. Blues and yellows blur together.
5.26:1AAAa
Sample text
Greyscale
No colour at all. Only lightness is left.
5.24:1AA
The short answer
Black on red #ff0000 has a contrast ratio of 5.25:1. That passes AA for normal text (4.5:1 needed), large text and button edges. It falls short of AAA, which needs 7:1.
- AA, normal text (needs 4.5:1)Pass
- AA, large text (needs 3:1)Pass
- AAA, normal text (needs 7:1)Fail
- AAA, large text (needs 4.5:1)Pass
- Buttons, icons and borders (needs 3:1)Pass
A stricter option (AAA, 7:1)
If you want to reach AAA for long reading, these are the closest changes that keep the same hue.
- Background #ff5e5e7.01:1 with black text
Questions about this pair
Is black on red #ff0000 accessible?
Black on red #ff0000 has a contrast ratio of 5.25:1. That passes AA for normal text (4.5:1 needed), large text and button edges. It falls short of AAA, which needs 7:1.
Can I use black on red #ff0000 for body text?
Yes. At 5.25:1 it meets the 4.5:1 that WCAG AA asks for on normal text.
Can I use it for large headings, buttons or icons?
Yes. Large text and the visible parts of buttons, icons and borders need 3:1, and this pair has 5.25:1. Keep small text on other colours.
Other combinations people check
- White on black21:1 · Passes AAA
- Black on white21:1 · Passes AAA
- Grey #808080 on black5.32:1 · Passes AA
- Blue #0000ff on black2.44:1 · Fails
- White on red #ff00004:1 · Passes AA large
- Red #ff0000 on white4:1 · Passes AA large
Open the full contrast checker to test your own colours or a whole palette.
See how your whole site does
A free scan checks every page element against WCAG 2.2, colours included, and explains each fix in plain English.