Gainsboro — 11-step color scale
Gainsboro (#dcdcdc) sits at 500, untouched. Every other step is Gainsboro composited over white or black at a decreasing opacity, so the whole ramp stays in one hue family instead of drifting toward another color at the ends.
Open Gainsboro in the generator
For text that needs to pass AA on white, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400, 500, 600, 700 do.
Semantic colors from Gainsboro
Success, warning, error and the rest are derived from Gainsboro itself, then checked so they stay distinguishable from the base — and from each other — under the three types of color blindness. The distance below is CIEDE2000 after each simulation.
| Suggested | Protanopia | Deuteranopia | Tritanopia |
|---|---|---|---|
| success | 16.7 | 15.8 | 16.4 |
| warning | 18.3 | 17.9 | 22.8 |
| error | 35.8 | 33.0 | 39.0 |
| discovery | 18.7 | 19.0 | 13.4 |
| info | 10.0 | 13.4 | 23.2 |
| neutral | 16.0 | 15.3 | 18.6 |
The info suggestion starts out colliding with Gainsboro under Protanopia — ΔE₀₀ 10.0, below the 11 threshold — so the engine shifts its hue within the info family until the pair pulls apart again.
Export Gainsboro
The same five formats the generator produces, for this scale. Copy any block, or open the tool to tweak the ramp first.
:root {
--color-color-50: #fcfcfc;
--color-color-100: #f7f7f7;
--color-color-200: #f1f1f1;
--color-color-300: #ebebeb;
--color-color-400: #e3e3e3;
--color-color-500: #dcdcdc;
--color-color-600: #b0b0b0;
--color-color-700: #7b7b7b;
--color-color-800: #585858;
--color-color-900: #353535;
--color-color-950: #121212;
}$color-color-50: #fcfcfc;
$color-color-100: #f7f7f7;
$color-color-200: #f1f1f1;
$color-color-300: #ebebeb;
$color-color-400: #e3e3e3;
$color-color-500: #dcdcdc;
$color-color-600: #b0b0b0;
$color-color-700: #7b7b7b;
$color-color-800: #585858;
$color-color-900: #353535;
$color-color-950: #121212;export const color = {
50: '#fcfcfc',
100: '#f7f7f7',
200: '#f1f1f1',
300: '#ebebeb',
400: '#e3e3e3',
500: '#dcdcdc',
600: '#b0b0b0',
700: '#7b7b7b',
800: '#585858',
900: '#353535',
950: '#121212',
};{
"color": {
"50": "#fcfcfc",
"100": "#f7f7f7",
"200": "#f1f1f1",
"300": "#ebebeb",
"400": "#e3e3e3",
"500": "#dcdcdc",
"600": "#b0b0b0",
"700": "#7b7b7b",
"800": "#585858",
"900": "#353535",
"950": "#121212"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9882352941176471,
0.9882352941176471,
0.9882352941176471
],
"alpha": 1,
"hex": "#FCFCFC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9686274509803922,
0.9686274509803922,
0.9686274509803922
],
"alpha": 1,
"hex": "#F7F7F7"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9450980392156862,
0.9450980392156862,
0.9450980392156862
],
"alpha": 1,
"hex": "#F1F1F1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9215686274509803,
0.9215686274509803,
0.9215686274509803
],
"alpha": 1,
"hex": "#EBEBEB"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8901960784313725,
0.8901960784313725,
0.8901960784313725
],
"alpha": 1,
"hex": "#E3E3E3"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8627450980392157,
0.8627450980392157,
0.8627450980392157
],
"alpha": 1,
"hex": "#DCDCDC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6901960784313725,
0.6901960784313725,
0.6901960784313725
],
"alpha": 1,
"hex": "#B0B0B0"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4823529411764706,
0.4823529411764706,
0.4823529411764706
],
"alpha": 1,
"hex": "#7B7B7B"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.34509803921568627,
0.34509803921568627,
0.34509803921568627
],
"alpha": 1,
"hex": "#585858"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.20784313725490197,
0.20784313725490197,
0.20784313725490197
],
"alpha": 1,
"hex": "#353535"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.07058823529411765,
0.07058823529411765,
0.07058823529411765
],
"alpha": 1,
"hex": "#121212"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}