Silver — 11-step color scale

Silver (#c0c0c0) sits at 500, untouched. Every other step is Silver 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 Silver in the generator

8%50
24%100
40%200
56%300
80%400
100%500your color
80%600
56%700
40%800
24%900
8%950
Each step is the base composited over white or black at the opacity shown.#c0c0c0

For text that needs to pass AA on white, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400, 500, 600 do.

Semantic colors from Silver

Success, warning, error and the rest are derived from Silver 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.

Derived from #c0c0c0
SuggestedProtanopiaDeuteranopiaTritanopia
success13.511.912.7
warning14.014.620.0
error29.526.933.7
discovery15.116.214.8
info7.010.921.2
neutral9.38.813.6
CIEDE2000 distance from the base under each simulation. The lowest of the three decides, and a dot marks the ones that land under 11.

The info suggestion starts out colliding with Silver under Protanopia — ΔE₀₀ 7.0, below the 11 threshold — so the engine shifts its hue within the info family until the pair pulls apart again.

Export Silver

The same five formats the generator produces, for this scale. Copy any block, or open the tool to tweak the ramp first.

CSS
:root {
  --color-color-50: #fafafa;
  --color-color-100: #f0f0f0;
  --color-color-200: #e6e6e6;
  --color-color-300: #dcdcdc;
  --color-color-400: #cdcdcd;
  --color-color-500: #c0c0c0;
  --color-color-600: #9a9a9a;
  --color-color-700: #6c6c6c;
  --color-color-800: #4d4d4d;
  --color-color-900: #2e2e2e;
  --color-color-950: #0f0f0f;
}
SCSS
$color-color-50: #fafafa;
$color-color-100: #f0f0f0;
$color-color-200: #e6e6e6;
$color-color-300: #dcdcdc;
$color-color-400: #cdcdcd;
$color-color-500: #c0c0c0;
$color-color-600: #9a9a9a;
$color-color-700: #6c6c6c;
$color-color-800: #4d4d4d;
$color-color-900: #2e2e2e;
$color-color-950: #0f0f0f;
JavaScript
export const color = {
  50: '#fafafa',
  100: '#f0f0f0',
  200: '#e6e6e6',
  300: '#dcdcdc',
  400: '#cdcdcd',
  500: '#c0c0c0',
  600: '#9a9a9a',
  700: '#6c6c6c',
  800: '#4d4d4d',
  900: '#2e2e2e',
  950: '#0f0f0f',
};
JSON
{
  "color": {
    "50": "#fafafa",
    "100": "#f0f0f0",
    "200": "#e6e6e6",
    "300": "#dcdcdc",
    "400": "#cdcdcd",
    "500": "#c0c0c0",
    "600": "#9a9a9a",
    "700": "#6c6c6c",
    "800": "#4d4d4d",
    "900": "#2e2e2e",
    "950": "#0f0f0f"
  }
}
Figma Variables
{
  "color": {
    "50": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9803921568627451,
          0.9803921568627451,
          0.9803921568627451
        ],
        "alpha": 1,
        "hex": "#FAFAFA"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:1",
        "com.figma.isOverride": true
      }
    },
    "100": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9411764705882353,
          0.9411764705882353,
          0.9411764705882353
        ],
        "alpha": 1,
        "hex": "#F0F0F0"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:2",
        "com.figma.isOverride": true
      }
    },
    "200": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.9019607843137255,
          0.9019607843137255,
          0.9019607843137255
        ],
        "alpha": 1,
        "hex": "#E6E6E6"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:3",
        "com.figma.isOverride": true
      }
    },
    "300": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.8627450980392157,
          0.8627450980392157,
          0.8627450980392157
        ],
        "alpha": 1,
        "hex": "#DCDCDC"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:4",
        "com.figma.isOverride": true
      }
    },
    "400": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.803921568627451,
          0.803921568627451,
          0.803921568627451
        ],
        "alpha": 1,
        "hex": "#CDCDCD"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:5",
        "com.figma.isOverride": true
      }
    },
    "500": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.7529411764705882,
          0.7529411764705882,
          0.7529411764705882
        ],
        "alpha": 1,
        "hex": "#C0C0C0"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:6",
        "com.figma.isOverride": true
      }
    },
    "600": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.6039215686274509,
          0.6039215686274509,
          0.6039215686274509
        ],
        "alpha": 1,
        "hex": "#9A9A9A"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:7",
        "com.figma.isOverride": true
      }
    },
    "700": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.4235294117647059,
          0.4235294117647059,
          0.4235294117647059
        ],
        "alpha": 1,
        "hex": "#6C6C6C"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:8",
        "com.figma.isOverride": true
      }
    },
    "800": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.30196078431372547,
          0.30196078431372547,
          0.30196078431372547
        ],
        "alpha": 1,
        "hex": "#4D4D4D"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:9",
        "com.figma.isOverride": true
      }
    },
    "900": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.1803921568627451,
          0.1803921568627451,
          0.1803921568627451
        ],
        "alpha": 1,
        "hex": "#2E2E2E"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:10",
        "com.figma.isOverride": true
      }
    },
    "950": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [
          0.058823529411764705,
          0.058823529411764705,
          0.058823529411764705
        ],
        "alpha": 1,
        "hex": "#0F0F0F"
      },
      "$extensions": {
        "com.figma.variableId": "VariableID:1:11",
        "com.figma.isOverride": true
      }
    }
  },
  "$extensions": {
    "com.figma.modeName": "Value"
  }
}

Open Silver in the generatorHow the scale is built