← All gradients
35%How it works
Curated

Broken Hearts

#D9A7C7
#FFFCDC
Text readability
Curated WarmPastel

Broken Hearts is a warm and pastel 2-colour linear gradient that runs from light pink (#D9A7C7) to off-white (#FFFCDC) at 135°. It suits hero sections and call-to-action buttons and soft backgrounds, cards and onboarding screens. Black text reads best on it, at a contrast ratio of 14.7:1 against the gradient’s average colour (AAA). Check every point, not just the average →

CSS
background: linear-gradient(135deg, #D9A7C7, #FFFCDC);
Tailwind
bg-gradient-to-br from-[#D9A7C7] to-[#FFFCDC]
Figma token
{
    "broken-hearts": {
        "value": "linear-gradient(135deg, #D9A7C7 0%, #FFFCDC 100%)",
        "type": "color"
    }
}

Broken Hearts gradient for SwiftUI, Flutter, Android and more

The same gradient, same direction, ready for your app or design system.

let brokenHeartsGradient = LinearGradient(
    colors: [
        Color(red: 0.851, green: 0.655, blue: 0.78),
        Color(red: 1, green: 0.988, blue: 0.863)
    ],
    startPoint: UnitPoint(x: 0, y: 0),
    endPoint: UnitPoint(x: 1, y: 1)
)

// Usage
Rectangle().fill(brokenHeartsGradient)

Colours in the Broken Hearts gradient

StopNameHEXRGBHSL
1Light pink#D9A7C7rgb(217, 167, 199)hsl(322, 40%, 75%)
2Off-white#FFFCDCrgb(255, 252, 220)hsl(55, 100%, 93%)

Broken Hearts gradient in use

Build something beautifulA hero section on the Broken Hearts gradientGet started
Button
Card accentAs a border or progress bar
Gradient text

Broken Hearts gradient variations

Reversed
Horizontal
Radial
Conic
Softer
Deeper
Smooth (OKLCH)
Hard stops

Download as an image

Free PNG wallpapers and backgrounds, drawn in your browser at full resolution.

Frequently asked questions

What are the hex codes for the Broken Hearts gradient?

The Broken Hearts gradient uses 2 colours: #D9A7C7 and #FFFCDC, at an angle of 135°.

How do I use the Broken Hearts gradient in CSS?

Paste background: linear-gradient(135deg, #D9A7C7, #FFFCDC); into any element’s styles. For Tailwind, use the class list in the Tailwind block above.

What text colour works on the Broken Hearts gradient?

Black text has the best contrast, at 14.7:1 against the gradient’s average colour, which is AAA. Check the lightest and darkest ends too if text spans the whole gradient.