Skip to content
#7D0F2E
#A92B4E
#D97A97
#2B0510
Background
Decorative / accent
Large text / UI
Decorative / accent

Cochineal Color Palette

#7D0F2E · #A92B4E · #D97A97 · #2B0510

Fail
WCAG Grade
1.74:1
Contrast Ratio
AI Prompt

Use #7D0F2E as the background. Use #A92B4E as the primary accent. Use #D97A97 as secondary. Use #2B0510 as body text/supporting color. Palette mood: Cochineal — deep, historic, rich.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the Cochineal 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: 4.9%
125, 15, 46 0%, 88%, 63%, 51% 343°, 79%, 27%
Decorative / accent
Luminance: 10.7%
169, 43, 78 0%, 75%, 54%, 34% 343°, 59%, 42%
Large text / UI
Luminance: 30.9%
217, 122, 151 0%, 44%, 30%, 15% 342°, 56%, 66%
Decorative / accent
Luminance: 0.7%
43, 5, 16 0%, 88%, 63%, 83% 343°, 79%, 9%

Cochineal 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 Cochineal palette — click any swatch to copy its hex.

#7D0F2E saturated rose-red
#A92B4E gently saturated rose-red
#D97A97 gently saturated rose-red
#2B0510 saturated rose-red

Cochineal 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
#2B0510 on #D97A97
Aa Sample Text
6.34:1 AA Body text, UI
#D97A97 on #2B0510
Aa Sample Text
6.34:1 AA Body text, UI
#D97A97 on #7D0F2E
Aa Sample Text
3.62:1 Fail Large headings, UI components
#7D0F2E on #D97A97
Aa Sample Text
3.62:1 Fail Large headings, UI components
#2B0510 on #A92B4E
Aa Sample Text
2.77:1 Fail Decorative use only
#A92B4E on #2B0510
Aa Sample Text
2.77:1 Fail Decorative use only
#D97A97 on #A92B4E
Aa Sample Text
2.28:1 Fail Decorative use only
#A92B4E on #D97A97
Aa Sample Text
2.28:1 Fail Decorative use only
#2B0510 on #7D0F2E
Aa Sample Text
1.74:1 Fail Decorative use only
#7D0F2E on #2B0510
Aa Sample Text
1.74:1 Fail Decorative use only
#A92B4E on #7D0F2E
Aa Sample Text
1.58:1 Fail Decorative use only
#7D0F2E on #A92B4E
Aa Sample Text
1.58:1 Fail Decorative use only

Palette Details

Cochineal is the deep crimson of hand-dyed wool and ancient tapestries. Two of the four colors are balanced (56–59%) and the other two are highly saturated (79%), with lightness running 9–66%. Body text #2B0510 on #7D0F2E measures 1.74:1 (no WCAG text threshold); the accent #A92B4E measures 1.58:1 against the same background.

Color Harmony: Monochromatic

4 of 4 colors sit at essentially the same hue (343°, rose-red); the palette varies them by lightness and saturation rather than hue.

Hue Wheel

Single-hue palettes are the easiest to keep consistent, but neighbouring slots can look flat — separate them with lightness steps of at least 15%.

History & Design Context

The cochineal insect of Mexico and Peru produced the most valuable red dye in history. Its export became a cornerstone of the Spanish empire, and it colored the finest cloth of Europe for three centuries.

Best Design Use Cases

Use cochineal for heritage brand surfaces and textile-led designs. The rose tones soften supporting areas, while the near-black wine carries text and gives the palette its depth.

Measured best pair: #2B0510 on #D97A97 at 6.34:1 (AA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.

Industries This Palette Suits

Ready-to-Wear, Streetwear, Luxury Houses, Athleisure, Accessories, E-commerce Fashion.

Colors That Pair Well With Cochineal

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.

teal

directly opposite #A92B4E on the wheel — the strongest accent for CTAs and highlights when you need maximum energy

red

30° beside #A92B4E — a calm secondary that extends the palette without adding tension

tinted neutral

a paper-white carrying the palette's own hue — perfect for surfaces and dividers

Using Cochineal Without Breaking Accessibility

  • Avoid #A92B4E for small UI elements on #7D0F2E — at 1.58:1 it misses the 3:1 WCAG threshold; darken it with a shade from the ramp below.
  • Don't set body copy in #2B0510 on #7D0F2E — 1.74:1 fails WCAG AA; keep it for large decorative headings only.
  • Don't use #D97A97 behind body text — this light tone works better for surfaces, badges and dividers than for reading areas.

How to Implement the Cochineal Color Scheme

To use this Cochineal 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 {
  /* Cochineal — ihatecolors */
  --color-bg: #7D0F2E;
  --color-accent: #A92B4E;
  --color-secondary: #D97A97;
  --color-text: #2B0510;
}

Web Design Tip

#A92B4E on #7D0F2E measures 1.58: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

#2B0510 on #7D0F2E measures 1.74:1, which fails every WCAG text threshold. The strongest pair in this palette is #2B0510 on #D97A97 at 6.34:1 — use that pair for normal text instead.

Cochineal Palette — Frequently Asked Questions

What are the hex codes in the Cochineal color palette?

The Cochineal palette contains #7D0F2E, #A92B4E, #D97A97, #2B0510. 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 Cochineal color palette accessible (WCAG)?

Yes for normal text. #2B0510 on #D97A97 reaches 6.34:1, which passes WCAG AA (4.5:1) but not AAA (7:1); it is safe for body copy and UI, not for the strictest accessibility target. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.

What colors go well with the Cochineal palette?

Beyond its own four colors, #2CAA86, #A04D37, #F1EAEC 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 Cochineal palette create?

Cochineal reads as deep, historic, rich. Gently saturated rose-red drives the personality, grounded by saturated rose-red — a combination that works best when the mid-tone base gets most of the canvas.

Can I use the Cochineal color palette commercially?

Yes. Individual color values can't be copyrighted, so the Cochineal 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 Cochineal 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 Cochineal's exact values, including the tint and shade ramps shown above.

Live Preview
Generate Similar ✦