Peach to Pink Gradient — CSS, Hex and Angles
Skin-tone warmth, the quiet gradient behind beauty and wellness cards. The pair is #FDBA74 → #EC4899, and on a 135° axis it reads as a diagonal wash. Everything below is generated from those two values, so the CSS you copy is exactly what the previews render.
Copy the CSS
.gradient {
background: #FDBA74; /* fallback for old browsers */
background: -webkit-linear-gradient(135deg, #FDBA74 0%, #EC4899 100%);
background: -moz-linear-gradient(135deg, #FDBA74 0%, #EC4899 100%);
background: linear-gradient(135deg, #FDBA74 0%, #EC4899 100%);
}const gradientStyle = {
background: '#FDBA74', // fallback
backgroundImage: 'linear-gradient(135deg, #FDBA74 0%, #EC4899 100%)',
};The two endpoints
| Name | Hex | RGB | HSL | vs white | vs black | |
|---|---|---|---|---|---|---|
| Peach | #FDBA74 | rgb(253, 186, 116) | hsl(31, 97%, 72%) | 1.69:1 | 12.45:1 | |
| Pink | #EC4899 | rgb(236, 72, 153) | hsl(330, 81%, 60%) | 3.53:1 | 5.95:1 |
The midpoint is #f58187 (rgb(245, 129, 135), saturation 85%). Close to the 89% the two ends average, so the transition stays saturated throughout.
What each angle does
| Angle | Direction | Function value |
|---|---|---|
| 0° | bottom → top | linear-gradient(0deg, #FDBA74 0%, #EC4899 100%) |
| 45° | bottom-left → top-right | linear-gradient(45deg, #FDBA74 0%, #EC4899 100%) |
| 90° | left → right | linear-gradient(90deg, #FDBA74 0%, #EC4899 100%) |
| 135° | top-left → bottom-right | linear-gradient(135deg, #FDBA74 0%, #EC4899 100%) |
| 180° | top → bottom | linear-gradient(180deg, #FDBA74 0%, #EC4899 100%) |
| 225° | top-right → bottom-left | linear-gradient(225deg, #FDBA74 0%, #EC4899 100%) |
| 270° | right → left | linear-gradient(270deg, #FDBA74 0%, #EC4899 100%) |
| 315° | bottom-right → top-left | linear-gradient(315deg, #FDBA74 0%, #EC4899 100%) |
The same pair as linear, radial and conic
| Type | Function value |
|---|---|
| linear | linear-gradient(135deg, #FDBA74 0%, #EC4899 100%) |
| radial | radial-gradient(circle at 50% 50%, #FDBA74 0%, #EC4899 100%) |
| conic | conic-gradient(from 0deg at 50% 50%, #FDBA74 0%, #EC4899 100%) |
Frequently asked
What is the CSS for a peach to pink gradient?background: linear-gradient(135deg, #FDBA74 0%, #EC4899 100%); — #FDBA74 at 0% and #EC4899 at 100%, on a 135° axis. Swap 135deg for to right if you want the direction to follow the element ratio instead of a fixed angle.
Does it need vendor prefixes?
Not for current browsers. Unprefixed linear-gradient has been supported everywhere for years, and the -webkit- / -moz- lines only matter for stacks that still ship to browsers older than 2013. The generator emits both, plus a solid #FDBA74 fallback.
Why would the middle look muddy?
This pair does not: both ends are close enough in hue that a straight sRGB blend stays clean, with mid #f58187 holding 85% saturation against 89% at the ends.
Can I put text straight onto it?
Check both ends, not the average. White text clears 4.5:1 against neither end and black text clears it against the peach end. Measured ratios: Peach is 1.69:1 on white and 12.45:1 on black; Pink is 3.53:1 on white and 5.95:1 on black.