Coral — 11-step color scale
Coral (#ff7f50) sits at 500, untouched. Every other step is Coral 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, 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 Coral
Success, warning, error and the rest are derived from Coral 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 | 10.5 | 6.7 | 64.5 |
| warning | 7.9 | 4.8 | 2.8 |
| error | 47.8 | 44.3 | 18.9 |
| discovery | 49.0 | 54.0 | 66.7 |
| info | 40.7 | 47.2 | 62.6 |
| neutral | 19.1 | 20.7 | 22.2 |
The warning suggestion starts out colliding with Coral under Tritanopia — ΔE₀₀ 2.8, below the 11 threshold — so the engine shifts its hue within the warning family until the pair pulls apart again.
Export Coral
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: #fff5f1;
--color-color-100: #ffe0d5;
--color-color-200: #ffccb9;
--color-color-300: #ffb79d;
--color-color-400: #ff9973;
--color-color-500: #ff7f50;
--color-color-600: #cc6640;
--color-color-700: #8f472d;
--color-color-800: #663320;
--color-color-900: #3d1e13;
--color-color-950: #140a06;
}$color-color-50: #fff5f1;
$color-color-100: #ffe0d5;
$color-color-200: #ffccb9;
$color-color-300: #ffb79d;
$color-color-400: #ff9973;
$color-color-500: #ff7f50;
$color-color-600: #cc6640;
$color-color-700: #8f472d;
$color-color-800: #663320;
$color-color-900: #3d1e13;
$color-color-950: #140a06;export const color = {
50: '#fff5f1',
100: '#ffe0d5',
200: '#ffccb9',
300: '#ffb79d',
400: '#ff9973',
500: '#ff7f50',
600: '#cc6640',
700: '#8f472d',
800: '#663320',
900: '#3d1e13',
950: '#140a06',
};{
"color": {
"50": "#fff5f1",
"100": "#ffe0d5",
"200": "#ffccb9",
"300": "#ffb79d",
"400": "#ff9973",
"500": "#ff7f50",
"600": "#cc6640",
"700": "#8f472d",
"800": "#663320",
"900": "#3d1e13",
"950": "#140a06"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
1,
0.9607843137254902,
0.9450980392156862
],
"alpha": 1,
"hex": "#FFF5F1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
1,
0.8784313725490196,
0.8352941176470589
],
"alpha": 1,
"hex": "#FFE0D5"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
1,
0.8,
0.7254901960784313
],
"alpha": 1,
"hex": "#FFCCB9"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
1,
0.7176470588235294,
0.615686274509804
],
"alpha": 1,
"hex": "#FFB79D"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
1,
0.6,
0.45098039215686275
],
"alpha": 1,
"hex": "#FF9973"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
1,
0.4980392156862745,
0.3137254901960784
],
"alpha": 1,
"hex": "#FF7F50"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8,
0.4,
0.25098039215686274
],
"alpha": 1,
"hex": "#CC6640"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.5607843137254902,
0.2784313725490196,
0.17647058823529413
],
"alpha": 1,
"hex": "#8F472D"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4,
0.2,
0.12549019607843137
],
"alpha": 1,
"hex": "#663320"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.23921568627450981,
0.11764705882352941,
0.07450980392156863
],
"alpha": 1,
"hex": "#3D1E13"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.0784313725490196,
0.0392156862745098,
0.023529411764705882
],
"alpha": 1,
"hex": "#140A06"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}