Gradient Mesh Color Palette
#FF6B9D · #7B61FF · #00D4C8 · #FFD166
Use #FF6B9D as the background. Use #7B61FF as the primary accent. Use #00D4C8 as secondary. Use #FFD166 as body text/supporting color. Palette mood: Gradient Mesh — vibrant, modern, digital.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Gradient Mesh color scheme. Use these values for web design (HEX/RGB), print projects (CMYK), or specialized design software (HSL).
| Swatch | Design Role | HEX | RGB | CMYK | HSL |
|---|---|---|---|---|---|
| Background Luminance: 34.2% | 255, 107, 157 | 0%, 58%, 38%, 0% | 340°, 100%, 71% | ||
| Decorative / accent Luminance: 20.0% | 123, 97, 255 | 52%, 62%, 0%, 0% | 250°, 100%, 69% | ||
| Decorative / accent Luminance: 51.3% | 0, 212, 200 | 100%, 0%, 6%, 17% | 177°, 100%, 42% | ||
| Decorative / accent Luminance: 67.8% | 255, 209, 102 | 0%, 18%, 60%, 0% | 42°, 100%, 70% |
Gradient Mesh Tints & Shades
Hover states, borders and elevation need lighter and darker steps of your base colors. Here are computed tints and shades for every color in the Gradient Mesh palette — click any swatch to copy its hex.
Gradient Mesh Palette Contrast Matrix (WCAG 2.1)
Every color tested as text on every other color as background. Body copy needs 4.5:1 (AA), large text and UI components 3:1. AAA requires 7:1.
| Text on Background | Preview | Ratio | Grade | Safe For |
|---|---|---|---|---|
| #FFD166 on #7B61FF |
Aa Sample Text
| 2.91:1 | Fail | Decorative use only |
| #7B61FF on #FFD166 |
Aa Sample Text
| 2.91:1 | Fail | Decorative use only |
| #00D4C8 on #7B61FF |
Aa Sample Text
| 2.25:1 | Fail | Decorative use only |
| #7B61FF on #00D4C8 |
Aa Sample Text
| 2.25:1 | Fail | Decorative use only |
| #FFD166 on #FF6B9D |
Aa Sample Text
| 1.85:1 | Fail | Decorative use only |
| #FF6B9D on #FFD166 |
Aa Sample Text
| 1.85:1 | Fail | Decorative use only |
| #7B61FF on #FF6B9D |
Aa Sample Text
| 1.56:1 | Fail | Decorative use only |
| #FF6B9D on #7B61FF |
Aa Sample Text
| 1.56:1 | Fail | Decorative use only |
| #00D4C8 on #FF6B9D |
Aa Sample Text
| 1.43:1 | Fail | Decorative use only |
| #FF6B9D on #00D4C8 |
Aa Sample Text
| 1.43:1 | Fail | Decorative use only |
| #FFD166 on #00D4C8 |
Aa Sample Text
| 1.29:1 | Fail | Decorative use only |
| #00D4C8 on #FFD166 |
Aa Sample Text
| 1.29:1 | Fail | Decorative use only |
Color Harmony: No Single Classic Rule
4 hue groups sit at 42°, 177°, 250°, 340° — the spacing is irregular rather than one of the standard harmony layouts.
Because the hue spacing is irregular, choose roles by measured contrast rather than by hue relationship.
History & Design Context
Best Design Use Cases
Measured best pair: #FFD166 on #7B61FF at 2.91:1 (Fail). No pair reaches 3:1, so this pairing is decorative only; this palette has no text-safe pair.
Industries This Palette Suits
Colors That Pair Well With Gradient Mesh
Need a fifth color? These three companions are computed from the palette's own hue positions on the color wheel, so they extend the scheme without breaking its harmony.
directly opposite #7B61FF on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #7B61FF — a calm secondary that extends the palette without adding tension
an ink-black carrying the palette's own hue — perfect for surfaces and dividers
Using Gradient Mesh Without Breaking Accessibility
- Avoid #7B61FF for small UI elements on #FF6B9D — at 1.56:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
- Don't set body copy in #FFD166 on #FF6B9D — 1.85:1 fails WCAG AA; keep it for large decorative headings only.
- Let #00D4C8 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #7B61FF.
How to Implement the Gradient Mesh Color Scheme
To use this Gradient Mesh color palette in your web project, copy the CSS variables below or open the export panel for Tailwind, SCSS and Figma formats.
Option 1: CSS Variables
:root {
/* Gradient Mesh — ihatecolors */
--color-bg: #FF6B9D;
--color-accent: #7B61FF;
--color-secondary: #00D4C8;
--color-text: #FFD166;
} Web Design Tip
#7B61FF on #FF6B9D measures 1.56:1 — below the 3:1 WCAG threshold for UI components. Use it for decoration only, or darken it with a shade from the ramp before using it for buttons, icons or borders.
Accessibility Note
#FFD166 on #FF6B9D measures 1.85:1, which fails every WCAG text threshold; the palette's strongest pair (#FFD166 on #7B61FF) reaches only 2.91:1. No pair here is safe for text, so use an external neutral for copy.
Gradient Mesh Palette — Frequently Asked Questions
What are the hex codes in the Gradient Mesh color palette?
The Gradient Mesh palette contains #FF6B9D, #7B61FF, #00D4C8, #FFD166. Click any swatch on this page to copy its value, or export all four at once as CSS variables, Tailwind config, SCSS or a Figma-ready list.
Is the Gradient Mesh color palette accessible (WCAG)?
No. The strongest pair, #FFD166 on #7B61FF, reaches 2.91:1 — below the 3:1 minimum for large text and UI and below the 4.5:1 needed for body copy. None of these four colours is safe as text on another; use an external neutral for body copy. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Gradient Mesh palette?
Beyond its own four colors, #E5FF61, #C869F7, #1A0F13 extend it naturally: the complementary hue for high-energy accents, an analogous neighbor for calm transitions, and a tinted neutral for surfaces. All three are computed from this palette's hues on the color wheel.
What mood does the Gradient Mesh palette create?
Gradient Mesh reads as vibrant, modern, digital. Saturated blue drives the personality, grounded by saturated rose-red — a combination that works best when the light base gets most of the canvas.
Can I use the Gradient Mesh color palette commercially?
Yes. Individual color values can't be copyrighted, so the Gradient Mesh palette is free for personal, client and commercial work — websites, branding, apps, print and social content, with no attribution required.
How do I add the Gradient Mesh palette to Tailwind or CSS?
Use the export panel on this page: CSS variables, a Tailwind config block, SCSS variables, or a Figma copy list are generated from Gradient Mesh's exact values, including the tint and shade ramps shown above.