Slack Gradient is a bold 3-colour linear gradient that runs from pink (#E01E5A) through orange (#ECB22E) to green (#2EB67D) at 45°. It is inspired by Slack’s brand colours, a reference point for tech interfaces. Black text reads best on it, at a contrast ratio of 6.0:1 against the gradient’s average colour (AA). Check every point, not just the average →
Unofficial reference: inspired by Slack’s brand colours, which may differ from its official guidelines. The Gradients is not affiliated with or endorsed by Slack. Slack is a trademark of its owner. The CSS is free to use, but don’t use these colours to make your own product look like Slack’s. Terms
background: linear-gradient(45deg, #E01E5A, #ECB22E, #2EB67D);
bg-gradient-to-tr from-[#E01E5A] via-[#ECB22E] to-[#2EB67D]
{
"slack": {
"value": "linear-gradient(45deg, #E01E5A 0%, #ECB22E 50%, #2EB67D 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let slackGradient = LinearGradient(
colors: [
Color(red: 0.878, green: 0.118, blue: 0.353),
Color(red: 0.925, green: 0.698, blue: 0.18),
Color(red: 0.18, green: 0.714, blue: 0.49)
],
startPoint: UnitPoint(x: 0, y: 1),
endPoint: UnitPoint(x: 1, y: 0)
)
// Usage
Rectangle().fill(slackGradient)val slackColors = listOf(Color(0xFFE01E5A), Color(0xFFECB22E), Color(0xFF2EB67D))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = slackColors,
start = Offset(size.width * 0f, size.height * 1f),
end = Offset(size.width * 1f, size.height * 0f)
)
)
}<!-- res/drawable/slack_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="45"
android:startColor="#E01E5A"
android:centerColor="#ECB22E"
android:endColor="#2EB67D"
android:type="linear" />
</shape>const slackGradient = LinearGradient(
begin: Alignment(-1, 1),
end: Alignment(1, -1),
colors: [Color(0xFFE01E5A), Color(0xFFECB22E), Color(0xFF2EB67D)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: slackGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#E01E5A', '#ECB22E', '#2EB67D']}
start={{ x: 0, y: 1 }}
end={{ x: 1, y: 0 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="slack" x1="0" y1="1" x2="1" y2="0">
<stop offset="0%" stop-color="#E01E5A" />
<stop offset="50%" stop-color="#ECB22E" />
<stop offset="100%" stop-color="#2EB67D" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#slack)" />
</svg>:root {
--slack-1: #E01E5A;
--slack-2: #ECB22E;
--slack-3: #2EB67D;
--slack-angle: 45deg;
--slack: linear-gradient(var(--slack-angle), var(--slack-1), var(--slack-2), var(--slack-3));
}
.hero {
background: var(--slack);
}$slack-1: #E01E5A;
$slack-2: #ECB22E;
$slack-3: #2EB67D;
$slack: linear-gradient(45deg, $slack-1, $slack-2, $slack-3);
@mixin slack-bg {
background: $slack-1;
background: $slack;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Pink | #E01E5A | rgb(224, 30, 90) | hsl(341, 76%, 50%) |
| 2 | Orange | #ECB22E | rgb(236, 178, 46) | hsl(42, 83%, 55%) |
| 3 | Green | #2EB67D | rgb(46, 182, 125) | hsl(155, 60%, 45%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Slack Gradient uses 3 colours: #E01E5A, #ECB22E and #2EB67D, at an angle of 45°.
Paste background: linear-gradient(45deg, #E01E5A, #ECB22E, #2EB67D); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
Black text has the best contrast, at 6.0:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.