#E06A7A
#9A2A3A
#4A0E18
Garnet is a warm 3-colour linear gradient that runs from light red (#E06A7A) through red (#9A2A3A) to deep red (#4A0E18) at 160°. It suits hero sections and call-to-action buttons. White text reads best on it, at a contrast ratio of 7.2:1 against the gradient’s average colour (AAA). Check every point, not just the average →
background: linear-gradient(160deg, #E06A7A, #9A2A3A, #4A0E18);
bg-[linear-gradient(160deg,#E06A7A,#9A2A3A,#4A0E18)]
{
"garnet": {
"value": "linear-gradient(160deg, #E06A7A 0%, #9A2A3A 50%, #4A0E18 100%)",
"type": "color"
}
}
The same gradient, same direction, ready for your app or design system.
let garnetGradient = LinearGradient(
colors: [
Color(red: 0.878, green: 0.416, blue: 0.478),
Color(red: 0.604, green: 0.165, blue: 0.227),
Color(red: 0.29, green: 0.055, blue: 0.094)
],
startPoint: UnitPoint(x: 0.318, y: 0),
endPoint: UnitPoint(x: 0.682, y: 1)
)
// Usage
Rectangle().fill(garnetGradient)val garnetColors = listOf(Color(0xFFE06A7A), Color(0xFF9A2A3A), Color(0xFF4A0E18))
Modifier.drawBehind {
drawRect(
Brush.linearGradient(
colors = garnetColors,
start = Offset(size.width * 0.318f, size.height * 0f),
end = Offset(size.width * 0.682f, size.height * 1f)
)
)
}<!-- res/drawable/garnet_gradient.xml -->
<shape xmlns:android="http://schemas.android.com/apk/res/android"
android:shape="rectangle">
<gradient
android:angle="270"
android:startColor="#E06A7A"
android:centerColor="#9A2A3A"
android:endColor="#4A0E18"
android:type="linear" />
</shape>
<!-- Android only takes multiples of 45°: 160deg in CSS is 290°, rounded to 270°. -->const garnetGradient = LinearGradient(
begin: Alignment(-0.364, -1),
end: Alignment(0.364, 1),
colors: [Color(0xFFE06A7A), Color(0xFF9A2A3A), Color(0xFF4A0E18)],
);
// Usage
Container(decoration: const BoxDecoration(gradient: garnetGradient))import { LinearGradient } from 'expo-linear-gradient';
<LinearGradient
colors={['#E06A7A', '#9A2A3A', '#4A0E18']}
start={{ x: 0.318, y: 0 }}
end={{ x: 0.682, 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="garnet" x1="0.318" y1="0" x2="0.682" y2="1">
<stop offset="0%" stop-color="#E06A7A" />
<stop offset="50%" stop-color="#9A2A3A" />
<stop offset="100%" stop-color="#4A0E18" />
</linearGradient>
</defs>
<rect width="100%" height="100%" fill="url(#garnet)" />
</svg>:root {
--garnet-1: #E06A7A;
--garnet-2: #9A2A3A;
--garnet-3: #4A0E18;
--garnet-angle: 160deg;
--garnet: linear-gradient(var(--garnet-angle), var(--garnet-1), var(--garnet-2), var(--garnet-3));
}
.hero {
background: var(--garnet);
}$garnet-1: #E06A7A;
$garnet-2: #9A2A3A;
$garnet-3: #4A0E18;
$garnet: linear-gradient(160deg, $garnet-1, $garnet-2, $garnet-3);
@mixin garnet-bg {
background: $garnet-1;
background: $garnet;
}| Stop | Name | HEX | RGB | HSL |
|---|---|---|---|---|
| 1 | Light red | #E06A7A | rgb(224, 106, 122) | hsl(352, 66%, 65%) |
| 2 | Red | #9A2A3A | rgb(154, 42, 58) | hsl(351, 57%, 38%) |
| 3 | Deep red | #4A0E18 | rgb(74, 14, 24) | hsl(350, 68%, 17%) |
Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.
The Garnet gradient uses 3 colours: #E06A7A, #9A2A3A and #4A0E18, at an angle of 160°.
Paste background: linear-gradient(160deg, #E06A7A, #9A2A3A, #4A0E18); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.
White text has the best contrast, at 7.2:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.