Named gradient · uiGradients
Predawn
Predawn is a red gradient from uiGradients (MIT) — #ffa17f → #00223e at 90°. Shown here interpolated in OKLab, next to the original sRGB, with the worst-case contrast for white and black text and every export.
Same stops, three spaces
The source renders this in sRGB. The number is how much chroma survives at the dullest point along the line — the difference between the first bar and the others is the grey that OKLab removes.
Report
- white ink: worst 1.97:1 at 0% (fails AA); black ink: worst 1.30:1 at 100% (fails AA) → use white text.
- Neither ink passes AA at the worst point — treat as decorative or add a scrim (rgba(0,0,0,.35) typically lifts white ink past 4:1).
- Banding medium: ~6px bands at 1440px — add grain 9 (≈1% soft-light noise) or shorten the ramp.
Export
.gradient {
background-image: linear-gradient(90deg, #ffa17f 0%, #eb987b 7.14%, #d88f78 14.29%, #c58574 21.43%, #b37c70 28.57%, #a0736c 35.71%, #8e6a67 42.86%, #7c6163 50%, #6b585e 57.14%, #5a4f59 64.29%, #494654 71.43%, #383d4f 78.57%, #273449 85.71%, #152b44 92.86%, #00223e 100%);
background-image: linear-gradient(90deg in oklab, #ffa17f 0%, #00223e 100%);
}bg-linear-to-r/oklab from-[#ffa17f] to-[#00223e]
<svg xmlns="http://www.w3.org/2000/svg" width="1440" height="600" viewBox="0 0 1440 600"><defs><linearGradient id="bs-gradient" gradientUnits="userSpaceOnUse" x1="0" y1="300" x2="1440" y2="300"><stop offset="0%" stop-color="#ffa17f"/><stop offset="7.14%" stop-color="#eb987b"/><stop offset="14.29%" stop-color="#d88f78"/><stop offset="21.43%" stop-color="#c58574"/><stop offset="28.57%" stop-color="#b37c70"/><stop offset="35.71%" stop-color="#a0736c"/><stop offset="42.86%" stop-color="#8e6a67"/><stop offset="50%" stop-color="#7c6163"/><stop offset="57.14%" stop-color="#6b585e"/><stop offset="64.29%" stop-color="#5a4f59"/><stop offset="71.43%" stop-color="#494654"/><stop offset="78.57%" stop-color="#383d4f"/><stop offset="85.71%" stop-color="#273449"/><stop offset="92.86%" stop-color="#152b44"/><stop offset="100%" stop-color="#00223e"/></linearGradient></defs><rect width="1440" height="600" fill="url(#bs-gradient)"/></svg>
{
"predawn": {
"$type": "gradient",
"$value": [
{
"color": {
"colorSpace": "srgb",
"components": [
1,
0.631,
0.498
],
"hex": "#ffa17f"
},
"position": 0
},
{
"color": {
"colorSpace": "srgb",
"components": [
0,
0.133,
0.243
],
"hex": "#00223e"
},
"position": 1
}
],
"$extensions": {
"com.brandsweets": {
"kind": "linear",
"css": "linear-gradient(90deg in oklab, #ffa17f 0%, #00223e 100%)",
"interpolation": "oklab",
"angle": 90,
"name": "Predawn",
"contrast": {
"white": {
"ratio": 1.971,
"at": 0,
"passesAA": false,
"passesAALarge": false
},
"black": {
"ratio": 1.298,
"at": 1,
"passesAA": false,
"passesAALarge": false
},
"suggestedInk": "#ffffff"
}
}
},
"$description": "Predawn (uiGradients, MIT), rendered in OKLab."
}
}Tagged
More red gradients
Point any MCP client at the shared gradients endpoint and your agent gets the same engine as this page — make_gradient returns CSS with the interpolation space, Tailwind v4, SVG, a PNG URL, a DTCG token and the contrast report in one call; brand_gradients derives the whole contact sheet from a brand or a palette. Read-only, no key. Every gradient is a /gradients/new/… link: open it, refine, paste it back.
https://mcp.brandsweets.com/gradients/mcpclaude mcp add --transport http brandsweets-gradients https://mcp.brandsweets.com/gradients/mcp
›take the Predawn gradient (#ffa17f, #00223e), re-interpolate it in oklch, and tell me the worst-case contrast for white text
Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.
Machine-readable: gradients.md · From uiGradients (MIT) — licences