Crimson — 11-step color scale
Crimson (#dc143c) sits at 500, untouched. Every other step is Crimson 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, 500, 600, 700, 800, 900, 950 clear the 4.5:1 line. On a dark surface, 50, 100, 200, 300, 400 do.
Semantic colors from Crimson
Success, warning, error and the rest are derived from Crimson 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 | 17.5 | 13.8 | 62.2 |
| warning | 13.3 | 5.3 | 6.1 |
| error | 34.3 | 33.9 | 15.4 |
| discovery | 46.8 | 58.4 | 64.2 |
| info | 36.8 | 46.6 | 57.7 |
| neutral | 16.3 | 20.3 | 24.7 |
The warning suggestion starts out colliding with Crimson under Deuteranopia — ΔE₀₀ 5.3, below the 11 threshold — so the engine shifts its hue within the warning family until the pair pulls apart again.
Export Crimson
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: #fcecef;
--color-color-100: #f7c7d0;
--color-color-200: #f1a1b1;
--color-color-300: #eb7b92;
--color-color-400: #e34363;
--color-color-500: #dc143c;
--color-color-600: #b01030;
--color-color-700: #7b0b22;
--color-color-800: #580818;
--color-color-900: #35050e;
--color-color-950: #120205;
}$color-color-50: #fcecef;
$color-color-100: #f7c7d0;
$color-color-200: #f1a1b1;
$color-color-300: #eb7b92;
$color-color-400: #e34363;
$color-color-500: #dc143c;
$color-color-600: #b01030;
$color-color-700: #7b0b22;
$color-color-800: #580818;
$color-color-900: #35050e;
$color-color-950: #120205;export const color = {
50: '#fcecef',
100: '#f7c7d0',
200: '#f1a1b1',
300: '#eb7b92',
400: '#e34363',
500: '#dc143c',
600: '#b01030',
700: '#7b0b22',
800: '#580818',
900: '#35050e',
950: '#120205',
};{
"color": {
"50": "#fcecef",
"100": "#f7c7d0",
"200": "#f1a1b1",
"300": "#eb7b92",
"400": "#e34363",
"500": "#dc143c",
"600": "#b01030",
"700": "#7b0b22",
"800": "#580818",
"900": "#35050e",
"950": "#120205"
}
}{
"color": {
"50": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9882352941176471,
0.9254901960784314,
0.9372549019607843
],
"alpha": 1,
"hex": "#FCECEF"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:1",
"com.figma.isOverride": true
}
},
"100": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9686274509803922,
0.7803921568627451,
0.8156862745098039
],
"alpha": 1,
"hex": "#F7C7D0"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:2",
"com.figma.isOverride": true
}
},
"200": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9450980392156862,
0.6313725490196078,
0.6941176470588235
],
"alpha": 1,
"hex": "#F1A1B1"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:3",
"com.figma.isOverride": true
}
},
"300": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.9215686274509803,
0.4823529411764706,
0.5725490196078431
],
"alpha": 1,
"hex": "#EB7B92"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:4",
"com.figma.isOverride": true
}
},
"400": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8901960784313725,
0.2627450980392157,
0.38823529411764707
],
"alpha": 1,
"hex": "#E34363"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:5",
"com.figma.isOverride": true
}
},
"500": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.8627450980392157,
0.0784313725490196,
0.23529411764705882
],
"alpha": 1,
"hex": "#DC143C"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:6",
"com.figma.isOverride": true
}
},
"600": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.6901960784313725,
0.06274509803921569,
0.18823529411764706
],
"alpha": 1,
"hex": "#B01030"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:7",
"com.figma.isOverride": true
}
},
"700": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.4823529411764706,
0.043137254901960784,
0.13333333333333333
],
"alpha": 1,
"hex": "#7B0B22"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:8",
"com.figma.isOverride": true
}
},
"800": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.34509803921568627,
0.03137254901960784,
0.09411764705882353
],
"alpha": 1,
"hex": "#580818"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:9",
"com.figma.isOverride": true
}
},
"900": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.20784313725490197,
0.0196078431372549,
0.054901960784313725
],
"alpha": 1,
"hex": "#35050E"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:10",
"com.figma.isOverride": true
}
},
"950": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [
0.07058823529411765,
0.00784313725490196,
0.0196078431372549
],
"alpha": 1,
"hex": "#120205"
},
"$extensions": {
"com.figma.variableId": "VariableID:1:11",
"com.figma.isOverride": true
}
}
},
"$extensions": {
"com.figma.modeName": "Value"
}
}