Accessible red color palette
Used for errors and sales, so it must be readable at a glance.
Your brand colour
Try an example
What your colour can do
#dc2626
Sits at step 600 of your scale
- ✓ PassWhite text on your colour: 4.83:1. Fine for buttons and banners.
- ✕ FailBlack text on your colour: 4.35:1. Dark text is too faint here.
Your colour scale
Eleven steps from very light to very dark, evenly spaced to the eye. Each tile shows the text colour that reads best on it.
50
#fff4f2
Black 19.47
100
#ffe6e3
Black 17.68
200
#ffcdc6
Black 14.8
300
#ffaba0
Black 11.58
400
#ff796c
Black 8.2
500
#f3413b
Black 5.63
600 (your colour)
#dc2626
White 4.83
700
#ad000d
White 7.55
800
#860008
White 10.41
900
#620003
White 13.81
950
#3b0001
White 17.7
See the contrast numbers for every step
| Step | Colour | On white | On dark (#111111) |
|---|---|---|---|
| 50 | #fff4f2 | 1.08:1 ✕ | 17.51:1 ✓ AA |
| 100 | #ffe6e3 | 1.19:1 ✕ | 15.9:1 ✓ AA |
| 200 | #ffcdc6 | 1.42:1 ✕ | 13.31:1 ✓ AA |
| 300 | #ffaba0 | 1.81:1 ✕ | 10.42:1 ✓ AA |
| 400 | #ff796c | 2.56:1 ✕ | 7.38:1 ✓ AA |
| 500 | #f3413b | 3.73:1 large text only | 5.06:1 ✓ AA |
| 600 (yours) | #dc2626 | 4.83:1 ✓ AA | 3.91:1 large text only |
| 700 | #ad000d | 7.55:1 ✓ AA | 2.5:1 ✕ |
| 800 | #860008 | 10.41:1 ✓ AA | 1.81:1 ✕ |
| 900 | #620003 | 13.81:1 ✓ AA | 1.37:1 ✕ |
| 950 | #3b0001 | 17.7:1 ✓ AA | 1.07:1 ✕ |
Safe pairs to use
Picked from your scale so each one passes WCAG, with the ratio shown.
- Book now
Button with white text
The lightest step that still gives white text 4.5:1.
White on 6004.83:1 ✓ Pass
- Read the details
Links and text on white
Coloured text on a white page needs 4.5:1 too.
600 on white4.83:1 ✓ Pass
- Read the details
Links on a dark background
For dark mode or dark sections. The darkest step that still reads on near-black.
500 on dark5.06:1 ✓ Pass
- Input with a border
Borders, icons and focus rings
Parts of controls need 3:1 against what they sit on (WCAG 1.4.11).
500 on white3.73:1 ✓ Pass
- Callout text
Text on a light tint
Callouts and badges: a very light background with a dark step for the text.
950 on 5016.41:1 ✓ Pass
Take it with you
:root {
--red-50: #fff4f2;
--red-100: #ffe6e3;
--red-200: #ffcdc6;
--red-300: #ffaba0;
--red-400: #ff796c;
--red-500: #f3413b;
--red-600: #dc2626;
--red-700: #ad000d;
--red-800: #860008;
--red-900: #620003;
--red-950: #3b0001;
}
The short answer
Red (#dc2626) works with white text. The ratio is 4.83:1, above the 4.5:1 that WCAG AA asks for, so you can use it as a button or banner colour with white lettering.
Red shades and their contrast
| Step | Colour | On white | On dark |
|---|---|---|---|
| 50 | #fff4f2 | 1.08:1 ✕ | 17.51:1 ✓ AA |
| 100 | #ffe6e3 | 1.19:1 ✕ | 15.9:1 ✓ AA |
| 200 | #ffcdc6 | 1.42:1 ✕ | 13.31:1 ✓ AA |
| 300 | #ffaba0 | 1.81:1 ✕ | 10.42:1 ✓ AA |
| 400 | #ff796c | 2.56:1 ✕ | 7.38:1 ✓ AA |
| 500 | #f3413b | 3.73:1 large only | 5.06:1 ✓ AA |
| 600 (yours) | #dc2626 | 4.83:1 ✓ AA | 3.91:1 large only |
| 700 | #ad000d | 7.55:1 ✓ AA | 2.5:1 ✕ |
| 800 | #860008 | 10.41:1 ✓ AA | 1.81:1 ✕ |
| 900 | #620003 | 13.81:1 ✓ AA | 1.37:1 ✕ |
| 950 | #3b0001 | 17.7:1 ✓ AA | 1.07:1 ✕ |
Questions about red
Does red work with white text?
Yes. Red (#dc2626) has a contrast ratio of 4.83:1 with white, which meets the 4.5:1 WCAG AA asks for.
Does black text work on red?
No. Black on #dc2626 is 4.35:1, which is below 4.5:1. Use a lighter or darker shade instead.
Which shade of red should I use for links on a white page?
Use a step that reaches 4.5:1 on white. For red that is step 600 (#dc2626), at 4.83:1.
Other colours
Is your live site using these colours well?
A free scan checks every colour pair on your page against WCAG 2.2 and shows what to fix.