Punk Hardcore Color Palette
#000000 · #FFFF00 · #FF0000 · #FFFFFF
Use #000000 as the background. Use #FFFF00 as the primary accent. Use #FF0000 as secondary. Use #FFFFFF as body text/supporting color. Palette mood: Punk Hardcore — aggressive, bold, anarchic.
Hex Codes, RGB & CMYK Color Values
Technical breakdown for the Punk Hardcore 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: 0.0% | 0, 0, 0 | 0%, 0%, 0%, 100% | 0°, 0%, 0% | ||
| Text · AAA Luminance: 92.8% | 255, 255, 0 | 0%, 0%, 100%, 0% | 60°, 100%, 50% | ||
| Text · AA Luminance: 21.3% | 255, 0, 0 | 0%, 100%, 100%, 0% | 0°, 100%, 50% | ||
| Text · AAA Luminance: 100.0% | 255, 255, 255 | 0%, 0%, 0%, 0% | 0°, 0%, 100% |
Punk Hardcore 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 Punk Hardcore palette — click any swatch to copy its hex.
Punk Hardcore 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 #000000 |
Aa Sample Text
| 21.00:1 | AAA | Body text, headings, UI |
| #000000 on #FFFFFF |
Aa Sample Text
| 21.00:1 | AAA | Body text, headings, UI |
| #FFFF00 on #000000 |
Aa Sample Text
| 19.55:1 | AAA | Body text, headings, UI |
| #000000 on #FFFF00 |
Aa Sample Text
| 19.55:1 | AAA | Body text, headings, UI |
| #FF0000 on #000000 |
Aa Sample Text
| 5.25:1 | AA | Body text, UI |
| #000000 on #FF0000 |
Aa Sample Text
| 5.25:1 | AA | Body text, UI |
| #FFFFFF on #FF0000 |
Aa Sample Text
| 3.99:1 | Fail | Large headings, UI components |
| #FF0000 on #FFFFFF |
Aa Sample Text
| 3.99:1 | Fail | Large headings, UI components |
| #FF0000 on #FFFF00 |
Aa Sample Text
| 3.72:1 | Fail | Large headings, UI components |
| #FFFF00 on #FF0000 |
Aa Sample Text
| 3.72:1 | Fail | Large headings, UI components |
| #FFFFFF on #FFFF00 |
Aa Sample Text
| 1.07:1 | Fail | Decorative use only |
| #FFFF00 on #FFFFFF |
Aa Sample Text
| 1.07:1 | Fail | Decorative use only |
Color Harmony: Analogous
Two neighbouring hue groups sit 60° apart (0°, 60°) — the extended analogous range.
Neighbouring hues read as cohesive and give little contrast between slots; build hierarchy from the lightness ladder rather than from hue.
History & Design Context
Best Design Use Cases
Measured best pair: #FFFFFF on #000000 at 21.00:1 (AAA). Use this pair for paragraph copy; the surface roles above are not body-text prescriptions.
Photocopied black, yellow and red
The palette is deliberately unstable, and that is the brief. #FFFF00 on #000000 gives 19.55:1 and #FFFFFF on black 21:1, so both can shout, while #FF0000 is the warning and aggression tone. There is no neutral mid-tone to soften the contrast.
Use yellow for symbols and shock blocks, red for alerts and one confrontational action, and white for anything that must actually be read at length. The style depends on rough edges and visible structure, so avoid gradients and soft shadows that would make it look polished.
Industries This Palette Suits
Colors That Pair Well With Punk Hardcore
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 #FFFF00 on the wheel — the strongest accent for CTAs and highlights when you need maximum energy
30° beside #FFFF00 — a calm secondary that extends the palette without adding tension
a paper-white carrying the palette's own hue — perfect for surfaces and dividers
Using Punk Hardcore Without Breaking Accessibility
- Use #FFFF00 for buttons and links — it scores 19.55:1 against the #000000 background (above the 3:1 UI-components threshold).
- Set body text in #FFFFFF — 21.00:1 against #000000 passes WCAG AA (AAA) for long-form reading.
- Let #FF0000 carry sidebars, cards and footers — at a mid lightness it separates zones without stealing focus from #FFFF00.
How to Implement the Punk Hardcore Color Scheme
To use this Punk Hardcore 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 {
/* Punk Hardcore — ihatecolors */
--color-bg: #000000;
--color-accent: #FFFF00;
--color-secondary: #FF0000;
--color-text: #FFFFFF;
} Web Design Tip
Use #000000 as the page background and #FFFF00 for primary buttons — they measure 19.55:1, which clears both the 3:1 UI threshold and the 4.5:1 body-text threshold.
Accessibility Note
Body copy in #FFFFFF on #000000 measures 21.00:1, which passes WCAG AAA for normal text.
Punk Hardcore Palette — Frequently Asked Questions
What are the hex codes in the Punk Hardcore color palette?
The Punk Hardcore palette contains #000000, #FFFF00, #FF0000, #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 Punk Hardcore color palette accessible (WCAG)?
Yes. #FFFFFF on #000000 reaches 21.00:1, which passes WCAG AAA for normal text (7:1) as well as AA and the 3:1 UI threshold — use it for body copy and controls. The full contrast matrix above shows the exact score for every color-on-color pair in this palette.
What colors go well with the Punk Hardcore palette?
Beyond its own four colors, #0000FF, #80F20D, #EEECEC 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 Punk Hardcore palette create?
Punk Hardcore reads as aggressive, bold, anarchic. Saturated yellow drives the personality, grounded by neutral gray — a combination that works best when the deep base gets most of the canvas.
Can I use the Punk Hardcore color palette commercially?
Yes. Individual color values can't be copyrighted, so the Punk Hardcore 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 Punk Hardcore 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 Punk Hardcore's exact values, including the tint and shade ramps shown above.