On this page
I’m Calder Wynne, and over twelve years of building color systems for brands, apps and print I have used red gradients on buttons, packaging and posters. This page collects the codes, CSS, contrast numbers and print notes I check every time.
What These Three Reds Look Like Together
Light red is warm and friendly, with a hint of coral. It is the red that feels approachable on a card or a button. Pure red is the loudest red a screen can show, so it works best in small doses or as the middle of a blend. Dark red is the CSS keyword darkred, a wine or oxblood tone that adds weight and calm.
All three share a hue of 0 degrees, which makes this a tonal gradient: only lightness changes. That is why it feels cohesive rather than busy. Nothing drifts toward orange or pink halfway through, and the eye reads one color moving from light to deep.
Red Gradient Hex, RGB, HSL and CMYK Codes
Here are the exact values for each stop. Hex, RGB and HSL describe the same screen color in different notation, and CMYK is a basic conversion for print planning.
| Color | HEX | RGB | HSL | CMYK |
|---|---|---|---|---|
| Light Red | 255, 107, 107 | 0, 100%, 71% | 0, 58, 58, 0 | |
| Red | 255, 0, 0 | 0, 100%, 50% | 0, 100, 100, 0 | |
| Dark Red | 139, 0, 0 | 0, 100%, 27% | 0, 100, 100, 45 |
The CMYK figures use the simple formula, so treat them as a starting point. A real press profile converts differently, and in particular sits outside what ink can fully reproduce.

Copy-Ready CSS for a Red Gradient
You can build this gradient in the studio above, changing stops, angle and type before copying the CSS. If you would rather paste straight into a stylesheet, this is my default:
.hero {
background: #FF0000; /* fallback */
background: linear-gradient(135deg, #FF6B6B 0%, #FF0000 50%, #8B0000 100%);
}
The 135deg angle runs from top left to bottom right, which suits wide hero sections. Use 90deg for left to right, 180deg for top to bottom and 0deg for bottom to top. Moving the middle stop from 50% to 35% leaves more room for the dark end, which is handy when you want a heavier footer or card.
Linear, Radial and Conic Red Gradients
Linear is the workhorse for banners, buttons and page sections. Radial suits glows and spotlights behind a product or heading. Conic is for dials, loaders and color wheels.
.glow { background: radial-gradient(circle at 30% 20%, #FF6B6B, #FF0000 45%, #8B0000); }
.dial { background: conic-gradient(from 0deg, #8B0000, #FF0000, #FF6B6B, #8B0000); }
In a radial gradient, put the light red where you want the eye to land, because the lightest area reads as the light source. In a conic gradient, repeating the first color as the last stop avoids a hard seam at the start angle.
Why Red Gradients Look Flat or Banded, and How to Fix It
Browsers blend in sRGB by default. For a same-hue ramp like this one that is mostly fine, though the middle can look a touch dull. When red blends into a different hue, the midpoint can turn muddy brown. Asking the browser to interpolate in a perceptual space such as OKLCH keeps the middle livelier in current browsers:
Which small CSS change keeps the middle of a red gradient livelier?
Interpolating in OKLCH blends by perceived color instead of raw sRGB values, so the middle keeps more energy.
.hero-smooth {
background: linear-gradient(135deg, #FF6B6B, #FF0000, #8B0000); /* fallback */
background: linear-gradient(in oklch 135deg, #FF6B6B, #FF0000, #8B0000);
}
Banding is the other trouble. Large dark red areas can show visible steps on some screens, especially at low brightness. A faint grain or noise overlay at low opacity hides most of it.
The plain sRGB midpoint of and is about . If that looks flat, add a lighter or more saturated middle stop.
Red Gradient Backgrounds for Web and UI
Red carries urgency, so I use gradients sparingly. These are the places where they earn their keep:
- Hero banners: the full three-stop blend at 135deg, with a white headline over the darker half.
- Buttons and badges: into for a pressed, dimensional look.
- Sale and limited-time strips, where loud is the point.
- Dark mode glows: fading into near black behind cards.
Red also means error and danger in most interfaces. Keep red gradients away from form fields and validation messages, or users may read decoration as a warning. When the page needs a calmer mood, shift the same idea toward orange or pink, which keep the warmth without the alarm.
Contrast and WCAG for Text on a Red Gradient
Contrast is where red gradients get tricky. I computed these ratios against solid colors. White on is 4.0:1, which fails the 4.5:1 AA bar for normal text but passes the 3:1 bar for large text. Black on reaches 5.25:1. On light red , white drops to 2.8:1 while black reaches 7.6:1. On dark red , white text hits 10.0:1.
Which text color passes the 4.5:1 AA bar on solid #FF0000?
Black reaches about 5.25:1 on #FF0000, while white manages only 4.0:1.
Because a gradient changes behind your text, test the lightest spot under each word. On one sign-up screen I redesigned, white button labels failed on the left end where the light red sat. Shifting the light stop away from the label fixed it without changing the look.
Try this: Place your headline on the gradient, sample the lightest pixel behind any letter and check it against white in a contrast checker. If it falls under 4.5:1, slide that stop darker or switch to dark text.
Colors That Pair Well With a Red Gradient
Neutrals make red look intentional. Charcoal, warm off-white and a soft gray gradient give it room to breathe, and pure black makes it dramatic. For contrast with real bite, a muted teal sits near red’s opposite on the color wheel and works well as a small accent.
Tonal ramp for hero banners, buttons and sale strips with white text.

Serious, editorial look for dark mode dashboards, menus and poster layouts.
Glowing fire palette for food brands, event flyers and music artwork.
High contrast accent pairing for app promos, icons and illustrated headers.
If you want movement instead of calm, change the destination color. A red to purple gradient feels richer and more nocturnal, while a red to blue gradient is sharper and more electric. Keep the second hue at a similar lightness, or the blend will look split in two.
Red Gradients in Print, Branding and Interiors
Screens mix light, so can glow. Ink cannot do that. The nearest CMYK mix of full magenta and full yellow prints as a calmer red. A poster gradient of mine glowed on my monitor and came back from the printer flatter, with the light end leaning orange. Now I convert to the printer’s profile first and judge a soft proof before approving anything.
Brands in food, retail and media lean on red for energy and appetite. Many keep a flat primary red for logos, since it reproduces consistently, and save the gradient for digital surfaces. In interiors, an ombre feature wall from up to a lighter red can work in a large room. In fashion, dip-dyed fabric moves from deep to light in the same way.
Light Red, Crimson, Scarlet and Other Close Shades
The light red is not pink and not quite coral. Its hue is 0 degrees, so it stays true red, only paler. Neighboring colors tilt away from it in useful ways, and these named CSS colors are the ones I swap in most:
- Tomato : hue near 9 degrees, a touch more orange.
- Crimson : hue near 348 degrees, a touch more pink.
- Firebrick : same hue as red, darker and softer.
- Maroon : slightly deeper than darkred .
- Salmon : lighter and more peach.
Swap crimson in as a middle stop when you want a cooler, more luxurious red, and tomato when you want the gradient to run hotter toward fire. Stay with the three base stops when you need the cleanest tonal ramp.
The colors behind these gradients
Red Gradient: questions people ask
What is the hex code for red?
Pure red is #FF0000, which is rgb(255, 0, 0) and hsl(0, 100%, 50%). In CSS you can also write the keyword red, and darkred is #8B0000.
How do I make a red gradient in CSS?
Use background: linear-gradient(135deg, #FF6B6B, #FF0000, #8B0000); and add a solid background color on the line above as a fallback. Change the angle to turn it from diagonal to horizontal or vertical.
What colors go well with a red gradient?
Charcoal, black, warm off-white and soft gray make red look polished. For more energy, try teal as an accent, or shift the gradient toward orange, pink or purple.
Is white text readable on a red gradient?
On #FF0000 white text has a contrast ratio of about 4.0:1, which only passes for large text. On #8B0000 it reaches about 10.0:1, so keep white labels over the darker end of the gradient.
Why does my red gradient look different when printed?
Screens can show a more saturated red than CMYK inks can reproduce. Convert to the printer's profile early and judge a soft proof, because pure #FF0000 will print as a calmer red.
Keep exploring
- Brown Gradient: Dark Brown Gradient Colors, Hex Codes and CSS
- Pastel Green Gradient: Backgrounds, Wallpapers and CSS Codes
- Black Gradient: Dark Theme Gradients with CSS Codes
- Rainbow Gradient: Colors, Backgrounds and CSS Codes
- Green Gradient: Color Combinations, Hex Codes and CSS
- Bronze Gradient: Wallpaper Colors, Hex Codes and CSS
- Honey Blonde Color: Hex Code, RGB and Palettes
- Light Green Color: Hex Code, RGB and Palettes