Kerbly

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.

  1. 50

    #fff4f2

    Black 19.47

  2. 100

    #ffe6e3

    Black 17.68

  3. 200

    #ffcdc6

    Black 14.8

  4. 300

    #ffaba0

    Black 11.58

  5. 400

    #ff796c

    Black 8.2

  6. 500

    #f3413b

    Black 5.63

  7. 600 (your colour)

    #dc2626

    White 4.83

  8. 700

    #ad000d

    White 7.55

  9. 800

    #860008

    White 10.41

  10. 900

    #620003

    White 13.81

  11. 950

    #3b0001

    White 17.7

See the contrast numbers for every step
Contrast ratio of each step on white and on a dark background
StepColourOn whiteOn dark (#111111)
50#fff4f21.08:1 ✕17.51:1 ✓ AA
100#ffe6e31.19:1 ✕15.9:1 ✓ AA
200#ffcdc61.42:1 ✕13.31:1 ✓ AA
300#ffaba01.81:1 ✕10.42:1 ✓ AA
400#ff796c2.56:1 ✕7.38:1 ✓ AA
500#f3413b3.73:1 large text only5.06:1 ✓ AA
600 (yours)#dc26264.83:1 ✓ AA3.91:1 large text only
700#ad000d7.55:1 ✓ AA2.5:1 ✕
800#86000810.41:1 ✓ AA1.81:1 ✕
900#62000313.81:1 ✓ AA1.37:1 ✕
950#3b000117.7:1 ✓ AA1.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

Red scale with contrast ratios on white and on a dark background
StepColourOn whiteOn dark
50#fff4f21.08:1 ✕17.51:1 ✓ AA
100#ffe6e31.19:1 ✕15.9:1 ✓ AA
200#ffcdc61.42:1 ✕13.31:1 ✓ AA
300#ffaba01.81:1 ✕10.42:1 ✓ AA
400#ff796c2.56:1 ✕7.38:1 ✓ AA
500#f3413b3.73:1 large only5.06:1 ✓ AA
600 (yours)#dc26264.83:1 ✓ AA3.91:1 large only
700#ad000d7.55:1 ✓ AA2.5:1 ✕
800#86000810.41:1 ✓ AA1.81:1 ✕
900#62000313.81:1 ✓ AA1.37:1 ✕
950#3b000117.7:1 ✓ AA1.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

Build a scale from your own colour or check two 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.

No account needed. Takes about 30 seconds.