#D01012
#F6C700
#1F1F1F
#FFFFFF
Background
Primary Accent
Secondary
Body Text

LEGO Brick Color Palette

#D01012 · #F6C700 · #1F1F1F · #FFFFFF

AA
WCAG Grade
5.6:1
Contrast Ratio
1,010
Saves
3,200
AI Copies
AI Prompt

Use #D01012 as the background. Use #F6C700 as the primary accent. Use #1F1F1F as secondary. Use #FFFFFF as body text/supporting color. Palette mood: LEGO Brick — playful, bold, joyful.

Hex Codes, RGB & CMYK Color Values

Technical breakdown for the LEGO Brick 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: 13.8%
208, 16, 18 0%, 92%, 91%, 18% 359°, 86%, 44%
Primary Accent
Luminance: 60.4%
246, 199, 0 0%, 19%, 100%, 4% 49°, 100%, 48%
Secondary
Luminance: 1.4%
31, 31, 31 0%, 0%, 0%, 88% 0°, 0%, 12%
Body Text
Luminance: 100.0%
255, 255, 255 0%, 0%, 0%, 0% 0°, 0%, 100%

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

#D01012 saturated rose-red
#F6C700 saturated yellow
#1F1F1F neutral gray
#FFFFFF neutral gray

LEGO Brick 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
#FFFFFF on #1F1F1F
Aa Sample Text
16.48:1 AAA Body text, headings, UI
#1F1F1F on #FFFFFF
Aa Sample Text
16.48:1 AAA Body text, headings, UI
#1F1F1F on #F6C700
Aa Sample Text
10.27:1 AAA Body text, headings, UI
#F6C700 on #1F1F1F
Aa Sample Text
10.27:1 AAA Body text, headings, UI
#FFFFFF on #D01012
Aa Sample Text
5.58:1 AA Body text, UI
#D01012 on #FFFFFF
Aa Sample Text
5.58:1 AA Body text, UI
#F6C700 on #D01012
Aa Sample Text
3.48:1 Fail Large headings, UI components
#D01012 on #F6C700
Aa Sample Text
3.48:1 Fail Large headings, UI components
#1F1F1F on #D01012
Aa Sample Text
2.96:1 Fail Decorative use only
#D01012 on #1F1F1F
Aa Sample Text
2.96:1 Fail Decorative use only
#FFFFFF on #F6C700
Aa Sample Text
1.60:1 Fail Decorative use only
#F6C700 on #FFFFFF
Aa Sample Text
1.60:1 Fail Decorative use only

LEGO Brick Color Psychology & Meaning

LEGO red is literally the color of the brick — a primary red with a yellow that reads like childhood itself. The pairing is warm, simple, and endlessly combinable, mirroring the toy's modular philosophy.

Color Harmony: Triadic Scheme

The LEGO Brick palette is built using a triadic relationship between its hues. This ensures that even with high-contrast accents, the overall scheme feels balanced and intentional.

Hue Wheel

A triadic palette is often preferred by professional designers because it balances visual interest with cohesion.

History & Design Context

The interlocking brick was patented in 1958, and red-yellow has been the brand's core identity since the 1960s. The LEGO brick color system is now so precise it has its own named shades across the product range.

Best Design Use Cases

Red for the brand and hero bricks. Yellow for energy, the classic minifigure, and highlights. Black and white for text and contrast. Perfect for children's brands, education, and playful product design.

Industries This Palette Suits

Toys, children's products, education, entertainment, retail.

Colors That Pair Well With LEGO Brick

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.

blue

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

yellow-green

30° beside #F6C700 — 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 LEGO Brick Without Breaking Accessibility

  • Use #F6C700 for buttons and links — it scores 3.5:1 against the #D01012 background (above the 3:1 UI-components threshold).
  • Set body text in #FFFFFF — 5.6:1 against #D01012 passes WCAG AA (AA) for long-form reading.
  • Let #1F1F1F carry sidebars, cards and footers — at a deep lightness it separates zones without stealing focus from #F6C700.

How to Implement the LEGO Brick Color Scheme

To use this LEGO Brick color palette in your web project, you can copy the following CSS variables or Tailwind CSS configuration. These roles ensure your UI maintains accessibility and visual hierarchy.

Option 1: CSS Variables

:root { 
  /* {name} Palette - ihatecolors.com */{'
'}  --color-bg: {colors[0]};{'
'}  --color-primary: {colors[1]};{'
'}  --color-secondary: {colors[2]};{'
'}  --color-text: {colors[3]};{'
'} {'}'}

Web Design Tip

Use #D01012 for the main background and #F6C700 for primary buttons. This creates a high-contrast focal point.

Accessibility Note

The contrast ratio between #FFFFFF and #D01012 is 5.58:1 (AA). Ensure your body text remains legible.

LEGO Brick Palette — Frequently Asked Questions

What are the hex codes in the LEGO Brick color palette?

The LEGO Brick palette contains #D01012, #F6C700, #1F1F1F, #FFFFFF. 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 LEGO Brick color palette accessible (WCAG)?

Yes for its strongest pairings: #FFFFFF on #1F1F1F reaches 16.5:1 (AAA). For body text always keep a 4.5:1 ratio and for large UI elements 3:1 — the full contrast matrix above shows the exact score for every color-on-color combination in this palette.

What colors go well with the LEGO Brick palette?

Beyond its own four colors, #002DF5, #A3E90C, #F1E9E9 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 LEGO Brick palette create?

LEGO Brick reads as playful, bold, joyful. Saturated yellow 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 LEGO Brick color palette commercially?

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

Similar Palettes

Live Preview
Generate Similar ✦
Skip to content