Fork me on GitHub

Find me the good constrasts, for web accessibility, between these two colors:

Foreground Color : invalid color For each color (red, green and blue), enter a number between 0 et 255. The color should be between #000000 and #FFFFFF
Background Color : invalid color For each color (red, green and blue), enter a number between 0 et 255. The color should be between #000000 and #FFFFFF

In the international reglementation etablished by the WCAG, the success criteria 1.4.3 requires a minimum contrast ratio of 4.5:1 (and 3:1 for enlarged text).

This minimum contrast ratio is also required by the French regulation, established by the RGAA 3.0 2016, in the criteria 3.3 et 3.4.

Component to edit :
Gimme :

Old contrast

Invalid contrast
Foreground Background Sample Ratio Distance
  • hsl(0, 0%, 56%)
  • rgb(145, 145, 145)
  • #919191
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

3.15175

New contrast : 14 results (4,199,040 colors tested)

Valid contrasts
Foreground Background Sample Ratio Distance
  • hsl(0, 1%, 46%)
  • rgb(121, 118, 118)
  • #797676
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50068 37.61
  • hsl(1, 18%, 50%)
  • rgb(153, 107, 106)
  • #996B6A
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50097 48.44
  • hsl(3, 22%, 50%)
  • rgb(158, 105, 102)
  • #9E6966
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50034 52.09
  • hsl(1, 30%, 52%)
  • rgb(170, 99, 97)
  • #AA6361
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.5001 57.72
  • hsl(2, 31%, 52%)
  • rgb(172, 98, 95)
  • #AC625F
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50021 59.36
  • hsl(3, 41%, 52%)
  • rgb(184, 91, 85)
  • #B85B55
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50095 67.98
  • hsl(1, 40%, 53%)
  • rgb(185, 90, 88)
  • #B95A58
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50041 66.01
  • hsl(4, 49%, 52%)
  • rgb(194, 84, 76)
  • #C2544C
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.5003 75.93
  • hsl(2, 55%, 53%)
  • rgb(202, 77, 72)
  • #CA4D48
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50022 80.32
  • hsl(1, 55%, 53%)
  • rgb(203, 76, 72)
  • #CB4C48
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50001 80.54
  • hsl(1, 57%, 54%)
  • rgb(205, 74, 71)
  • #CD4A47
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50033 81.79
  • hsl(1, 58%, 54%)
  • rgb(206, 73, 70)
  • #CE4946
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50082 82.82
  • hsl(1, 58%, 54%)
  • rgb(207, 72, 69)
  • #CF4845
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50068 83.86
  • hsl(1, 60%, 53%)
  • rgb(209, 70, 66)
  • #D14642
  • hsl(0, 0%, 100%)
  • rgb(255, 255, 255)
  • #FFFFFF

Title big size with words in bold

Here is some text sample with some words in bold to illustrate the contrast.

4.50084 86.75
Not satisfied ?