Brown — 11-step color scale
Brown (#a52a2a) sits at 500, untouched. Every other step is Brown 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.
For text that needs to pass AA on white, 400, 500, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300 do.
Semantic colors from Brown
Success, warning, error and the rest are derived from Brown 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 | 12.4 | 5.5 | 58.0 |
| warning | 10.0 | 4.6 | 5.2 |
| error | 19.2 | 12.5 | 7.8 |
| discovery | 43.0 | 51.2 | 57.8 |
| info | 34.4 | 42.4 | 53.2 |
| neutral | 15.1 | 16.6 | 21.0 |
The warning suggestion starts out colliding with Brown under Deuteranopia — ΔE₀₀ 4.6, below the 11 threshold — so the engine shifts its hue within the warning family until the pair pulls apart again.
Export Brown
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: #f8eeee;
--color-color-100: #e9cccc;
--color-color-200: #dbaaaa;
--color-color-300: #cd8888;
--color-color-400: #b75555;
--color-color-500: #a52a2a;
--color-color-600: #842222;
--color-color-700: #5c1818;
--color-color-800: #421111;
--color-color-900: #280a0a;
--color-color-950: #0d0303;
}$color-color-50: #f8eeee;
$color-color-100: #e9cccc;
$color-color-200: #dbaaaa;
$color-color-300: #cd8888;
$color-color-400: #b75555;
$color-color-500: #a52a2a;
$color-color-600: #842222;
$color-color-700: #5c1818;
$color-color-800: #421111;
$color-color-900: #280a0a;
$color-color-950: #0d0303;export const color = {
50: '#f8eeee',
100: '#e9cccc',
200: '#dbaaaa',
300: '#cd8888',
400: '#b75555',
500: '#a52a2a',
600: '#842222',
700: '#5c1818',
800: '#421111',
900: '#280a0a',
950: '#0d0303',
};{
"color": {
"50": "#f8eeee",
"100": "#e9cccc",
"200": "#dbaaaa",
"300": "#cd8888",
"400": "#b75555",
"500": "#a52a2a",
"600": "#842222",
"700": "#5c1818",
"800": "#421111",
"900": "#280a0a",
"950": "#0d0303"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9725490196078431,
0.9333333333333333,
0.9333333333333333
],
"alpha": 1,
"hex": "#F8EEEE"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9137254901960784,
0.8,
0.8
],
"alpha": 1,
"hex": "#E9CCCC"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8588235294117647,
0.6666666666666666,
0.6666666666666666
],
"alpha": 1,
"hex": "#DBAAAA"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.803921568627451,
0.5333333333333333,
0.5333333333333333
],
"alpha": 1,
"hex": "#CD8888"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.7176470588235294,
0.3333333333333333,
0.3333333333333333
],
"alpha": 1,
"hex": "#B75555"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6470588235294118,
0.16470588235294117,
0.16470588235294117
],
"alpha": 1,
"hex": "#A52A2A"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.5176470588235295,
0.13333333333333333,
0.13333333333333333
],
"alpha": 1,
"hex": "#842222"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.3607843137254902,
0.09411764705882353,
0.09411764705882353
],
"alpha": 1,
"hex": "#5C1818"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.25882352941176473,
0.06666666666666667,
0.06666666666666667
],
"alpha": 1,
"hex": "#421111"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.1568627450980392,
0.0392156862745098,
0.0392156862745098
],
"alpha": 1,
"hex": "#280A0A"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.050980392156862744,
0.011764705882352941,
0.011764705882352941
],
"alpha": 1,
"hex": "#0D0303"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}