#FF8FA3
#E0115F
#6B0A2E
Ruby is a warm and bold 3-colour linear gradient that runs from light red (#FF8FA3) through pink (#E0115F) to deep pink (#6B0A2E) at 135°. It suits hero sections and call-to-action buttons and banners and attention-grabbing headers. White text reads best on it, at a contrast ratio of 5.1:1 against the gradient’s average colour (AA). Check every point, not just the average →
background: linear-gradient(135deg, #FF8FA3, #E0115F, #6B0A2E);
bg-gradient-to-br from-[#FF8FA3] via-[#E0115F] to-[#6B0A2E]
{
"ruby": {
"value": "linear-gradient(135deg, #FF8FA3 0%, #E0115F 50%, #6B0A2E 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let rubyGradient = LinearGradient(
colors: [
Color(red: 1, green: 0.561, blue: 0.639),
Color(red: 0.878, green: 0.067, blue: 0.373),
Color(red: 0.42, green: 0.039, blue: 0.18)
],
startPoint: UnitPoint(x: 0, y: 0),
endPoint: UnitPoint(x: 1, y: 1)
)
// Usage
Rectangle().fill(rubyGradient)val rubyColors = listOf(Color(0xFFFF8FA3), Color(0xFFE0115F), Color(0xFF6B0A2E))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = rubyColors,
start = Offset(size.width * 0f, size.height * 0f),
end = Offset(size.width * 1f, size.height * 1f)
)
)
}<!-- res/drawable/ruby_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="315"
android:startColor="#FF8FA3"
android:centerColor="#E0115F"
android:endColor="#6B0A2E"
android:type="linear" />
</shape>const rubyGradient = LinearGradient(
begin: Alignment(-1, -1),
end: Alignment(1, 1),
colors: [Color(0xFFFF8FA3), Color(0xFFE0115F), Color(0xFF6B0A2E)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: rubyGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#FF8FA3', '#E0115F', '#6B0A2E']}
start={{ x: 0, y: 0 }}
end={{ x: 1, y: 1 }}
style={{ flex: 1 }}
/><svg xmlns="http://www.w3.org/2000/svg" width="1200" height="630" viewBox="0 0 1200 630">
<defs>
<linearGradient id="ruby" x1="0" y1="0" x2="1" y2="1">
<stop offset="0%" stop-color="#FF8FA3" />
<stop offset="50%" stop-color="#E0115F" />
<stop offset="100%" stop-color="#6B0A2E" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#ruby)" />
</svg>:root {
--ruby-1: #FF8FA3;
--ruby-2: #E0115F;
--ruby-3: #6B0A2E;
--ruby-angle: 135deg;
--ruby: linear-gradient(var(--ruby-angle), var(--ruby-1), var(--ruby-2), var(--ruby-3));
}
.hero {
background: var(--ruby);
}$ruby-1: #FF8FA3;
$ruby-2: #E0115F;
$ruby-3: #6B0A2E;
$ruby: linear-gradient(135deg, $ruby-1, $ruby-2, $ruby-3);
@mixin ruby-bg {
background: $ruby-1;
background: $ruby;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light red | #FF8FA3 | rgb(255, 143, 163) | hsl(349, 100%, 78%) |
| 2 | Pink | #E0115F | rgb(224, 17, 95) | hsl(337, 86%, 47%) |
| 3 | Deep pink | #6B0A2E | rgb(107, 10, 46) | hsl(338, 83%, 23%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Ruby gradient uses 3 colours: #FF8FA3, #E0115F and #6B0A2E, at an angle of 135°.
Paste background: linear-gradient(135deg, #FF8FA3, #E0115F, #6B0A2E); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 5.1:1 against the gradient’s average colour, which is AA. Check the lightest and darkest ends too if text spans the whole gradient.