Brand colors

Bun colors

Bun's 5 brand colors as structured tokens — every role's hex with copy buttons, contrast pairs measured against the brand's own surface, and CSS / DTCG downloads. Ask your agent for a palette inspired by Bun via the colors MCP.

Source
bun.sh
Extracted
Version
3
Guidelines
official
Verified from the live site at bun.sh on 2 September 2026 (version 3).

Role tokens

  • primary#4d7c1b · Dark Green
  • secondary#c41a68 · Magenta
  • accent#4d7c1b · Dark Green
  • surface#ffffff · White
  • text#0a0a0a · Black

Contrast pairs

PairRatioAAAA largeAAAFix
Aaprimary on surface
4.98:1passpassfailAAA: primary → #3c6015 (7.3:1)
Aasecondary on surface
5.68:1passpassfailAAA: secondary → #a7165a (7.23:1)
Aaaccent on surface
4.98:1passpassfailAAA: accent → #3c6015 (7.3:1)
Aatext on surface
19.8:1passpasspass—
Aatext on primary
3.97:1failpassfailAA: text → #f5f5f5 (4.57:1)
Aatext on secondary
3.48:1failpassfailAA: text → #e6e6e6 (4.55:1)
Aatext on accent
3.97:1failpassfailAA: text → #f5f5f5 (4.57:1)

Measured against the brand's own surface where it has one; fixes move lightness only so they stay on-hue.

Download

The same tokens as CSS custom properties, a Tailwind v4 @theme block, and a W3C DTCG color group — or fetch tokens.json / brand.css for the full brand.

css · bun-sh-colors.css
:root {
  --color-primary: #4d7c1b;
  --color-secondary: #c41a68;
  --color-accent: #4d7c1b;
  --color-surface: #ffffff;
  --color-text: #0a0a0a;
}
tailwind · theme.css
/* Bun — Tailwind v4 theme. Import after "tailwindcss". */
@theme {
  --color-primary: #4d7c1b;
  --color-secondary: #c41a68;
  --color-accent: #4d7c1b;
  --color-surface: #ffffff;
  --color-text: #0a0a0a;
}
dtcg · bun-sh-colors.tokens.json
{
  "$description": "Bun brand colors",
  "color": {
    "primary": {
      "$type": "color",
      "$value": "#4d7c1b"
    },
    "secondary": {
      "$type": "color",
      "$value": "#c41a68"
    },
    "accent": {
      "$type": "color",
      "$value": "#4d7c1b"
    },
    "surface": {
      "$type": "color",
      "$value": "#ffffff"
    },
    "text": {
      "$type": "color",
      "$value": "#0a0a0a"
    }
  }
}

Similar brand palettes

Public brands whose primary sits closest on the hue wheel.

mcpConnect your agent — riff on Bun
live endpoint

Point any MCP client at the shared colors endpoint and your agent gets the same engine as this page — direct_palette, edit_direction, check_palette, check_contrast — read-only, no key. Every direction it proposes comes with a /colors/d/… link: open it, lock what you like, paste the link back, and the agent edits rather than re-rolls.

endpointhttps://mcp.brandsweets.com/colors/mcp
claude mcp add --transport http brandsweets-colors https://mcp.brandsweets.com/colors/mcp
try this prompt

›build a palette inspired by Bun for a different startup — keep the feel, change the primary, and give me the /palettes/new link

tool url/palettes/new/4d7c1b-c41a68-ffffff-0a0a0a?lock=0

Want the agent to remember your picks and write them into a living brand? Create a free BrandSweets workspace.

Bun trademarks and logos belong to their owner. Shown for identification (nominative use); not affiliated or endorsed. Owner of this brand? Request a correction or removal →