# Rust

> `rust@1.0.0`

Rust is a systems programming language that runs blazingly fast, prevents segfaults, and guarantees thread safety via its ownership and borrow-checker model. The brand voice is engineering-honest, community-stewarded, and quietly proud — measured tone, deference to the compiler, and a strong open-source ethic carried since the language's Mozilla incubation. The visual identity centers on Rust Orange (#D34516), the gear-and-R logomark, and a typographic voice that pairs a humanist sans for prose with a code monospace for source samples. The Rust Foundation acts as steward of the trademark and brand.


**Tags:** `rust`, `programming-language`, `systems`, `open-source`, `brand`, `foundation`

## Atoms

### Palette

**Rust** · `rust@1.0.0` · CC-BY-4.0

> Rust language brand palette anchored on Rust Orange (#D34516), the signature accent of the gear-and-R mark and the cargo and rust-lang.org marketing surfaces. The full Rust Foundation brand expression pairs the orange with a deeper Rust Dark Blue (#1E2650), a supporting blue for technical content (Rust Blue #28607F), a neutral metallic gray (Rust Silver #67737A), and a green reserved for the database / sustainability surfaces (Rust Green #61784D). Light-mode is canvas- white; dark-mode inverts to a deep, near-black surface set so the orange retains its high-energy role. 

### Fonts

| Role | Font | License | Classification |
|------|------|---------|----------------|
| `heading` | **Inter** `(inter@1.0.0)` | OFL-1.1 | sans-serif |
| `body` | **Inter** `(inter@1.0.0)` | OFL-1.1 | sans-serif |
| `mono` | **Source Code Pro** `(source-code-pro@1.0.0)` | OFL-1.1 | monospace |

## Swatches

| ID | Name | Value |
|----|------|-------|
| `rust-orange` | Rust Orange | `#D34516` |
| `rust-dark-blue` | Rust Dark Blue | `#1E2650` |
| `rust-blue` | Rust Blue | `#28607F` |
| `rust-silver` | Rust Silver | `#67737A` |
| `rust-green` | Rust Green | `#61784D` |
| `rust-black` | Rust Black | `#0E0E0E` |
| `rust-charcoal` | Rust Charcoal | `#222222` |
| `rust-light-gray` | Rust Light Gray | `#D7D7D7` |
| `rust-off-white` | Rust Off-White | `#F4F4F4` |
| `rust-white` | Rust White | `#FFFFFF` |

## Mode role mappings

### Light mode

| Role | Swatch | Hex |
|------|--------|-----|
| `background` | `rust-white` | `#FFFFFF` |
| `surface` | `rust-off-white` | `#F4F4F4` |
| `surface-elevated` | `rust-white` | `#FFFFFF` |
| `text-primary` | `rust-dark-blue` | `#1E2650` |
| `text-secondary` | `rust-silver` | `#67737A` |
| `text-tertiary` | `rust-blue` | `#28607F` |
| `primary` | `rust-orange` | `#D34516` |
| `primary-hover` | `rust-dark-blue` | `#1E2650` |
| `accent` | `rust-blue` | `#28607F` |
| `accent-hover` | `rust-dark-blue` | `#1E2650` |
| `warning` | `rust-orange` | `#D34516` |
| `warning-hover` | `rust-dark-blue` | `#1E2650` |
| `error` | `rust-orange` | `#D34516` |
| `success` | `rust-green` | `#61784D` |

### Dark mode

| Role | Swatch | Hex |
|------|--------|-----|
| `background` | `rust-black` | `#0E0E0E` |
| `surface` | `rust-charcoal` | `#222222` |
| `surface-elevated` | `rust-charcoal` | `#222222` |
| `text-primary` | `rust-white` | `#FFFFFF` |
| `text-secondary` | `rust-light-gray` | `#D7D7D7` |
| `text-tertiary` | `rust-silver` | `#67737A` |
| `primary` | `rust-orange` | `#D34516` |
| `primary-hover` | `rust-light-gray` | `#D7D7D7` |
| `accent` | `rust-blue` | `#28607F` |
| `accent-hover` | `rust-light-gray` | `#D7D7D7` |
| `warning` | `rust-orange` | `#D34516` |
| `warning-hover` | `rust-light-gray` | `#D7D7D7` |
| `error` | `rust-orange` | `#D34516` |
| `success` | `rust-green` | `#61784D` |

## Brand semantic roles

### Colors

| Role | Swatch | Hex |
|------|--------|-----|
| `identity` | `rust-orange` | `#D34516` |
| `on-identity` | `rust-white` | `#FFFFFF` |
| `primary` | `rust-orange` | `#D34516` |
| `primary-hover` | `rust-dark-blue` | `#1E2650` |
| `accent` | `rust-blue` | `#28607F` |
| `accent-hover` | `rust-dark-blue` | `#1E2650` |
| `background` | `rust-white` | `#FFFFFF` |
| `surface` | `rust-off-white` | `#F4F4F4` |
| `text-primary` | `rust-dark-blue` | `#1E2650` |
| `text-secondary` | `rust-silver` | `#67737A` |

### Typography

| Role | Font role key |
|------|---------------|
| `display` | `heading` |
| `prose` | `body` |
| `code` | `mono` |

## Rules

### 🛑 error (6)

#### `forbiddenTreatment` → `logo`

- **treatments:** flipped, rotated, skewed, stretched, recolored, drop-shadow, on-busy-photo

> The Rust Foundation Brand Guide explicitly prohibits flipping, rotating, skewing, or otherwise altering the Rust Foundation logo. The gear-and-R mark must retain its proportions and orientation in every reproduction. 

#### `numericRange` → `logo.height`

- **min:** `10`
- **unit:** `mm`

> The Rust Foundation Brand Guide specifies a minimum reproduction height of 10mm for the primary logo to preserve gear-tooth legibility. Smaller renderings degrade the mark. 

#### `colorChoice` → `roles.colors.identity`

- **allowed:** rust-orange, rust-dark-blue
- **forbidden:** rust-green, rust-silver

> Rust Orange and Rust Dark Blue are the two identity colors named in the Foundation Brand Guide. Rust Silver and Rust Green are reserved for body / sustainability roles and must not stand in as the brand identity color. 

#### `contrastRatio` → `text-primary`

- **against:** `background`
- **minRatio:** `4.5`
- **standard:** `WCAG-AA`

> Rust Dark Blue (#1E2650) on Rust White exceeds 12:1 — well above the WCAG AA threshold for body text. 

#### `accessibilityRequirement` → `*`

- **standard:** `WCAG-AA`
- **criterion:** `1.4.3`

> WCAG 2.1 Success Criterion 1.4.3 (Contrast Minimum) — Level AA. Consumers must not pair tokens that defeat the AA contrast property of the Foundation Brand Guide palette. 

#### `enumMembership` → `trademark.context`

- **forbidden:** implied-endorsement, product-name-prefix

> The Rust Foundation Logo Policy distinguishes between logo redistribution (permitted under CC-BY) and trademark use (which requires not implying official endorsement). Logos must not be used in product names or in contexts that suggest the Rust project endorses a third-party offering. 

### ⚠️ warning (2)

#### `contrastRatio` → `roles.colors.primary`

- **against:** `background`
- **minRatio:** `3`
- **standard:** `WCAG-AA-large`

> Rust Orange (#D34516) on white sits around 4.9:1 — clears AA for body text in most renderings, but consumers should verify against actual rendered weight before using the orange for fine text on light surfaces. 

#### `compositionConstraint` → `roles.colors.primary`

- **pairsWith:** rust-dark-blue, rust-white
- **doesNotPairWith:** rust-green

> Rust Orange pairs canonically with Rust Dark Blue or White backgrounds. Pairing Rust Orange directly with Rust Green breaks the documented identity-vs-supporting role boundary and creates a discordant orange-green clash. 

### 💡 recommendation (1)

#### `fontPairing` → `typography.heading`

- **requires:** `body`
- **minSizeRatio:** `1.5`

> Rust documentation surfaces use a single humanist sans for both heading and body. Maintaining at least a 1.5× heading-to-body ratio preserves hierarchy without requiring a second family. 

## Provenance

- **Source:** <https://rustfoundation.org/policies/logo-policy-and-media-guide/>
- **License:** `CC-BY-4.0`
- **Attribution:** The Rust logo is owned by the Rust Foundation and distributed under the Creative Commons Attribution 4.0 license per the Rust Foundation's Logo Policy and Media Guide. The Rust word mark and language identity remain trademarks of the Rust Foundation. This atom is brand-atoms' machine-readable encoding of the published brand guide; no logos or wordmarks are bundled here. 
- **Imported:** `2026-05-18`
- **Notes:** Brand identity values are drawn from the Rust Foundation Brand Guide (rustfoundation.org/brand-guide), which is the current authoritative source. The Foundation's recommended typography is Noto Sans / Noto Serif (freely available via Google Fonts); those families are not yet in the brand-atoms catalog. This atom substitutes the catalog's Inter (humanist sans, OFL-1.1) for prose and Source Code Pro (Adobe's editorial monospace, OFL-1.1) for source code — both honor the Foundation's intent of "freely available, technical, neutral" without bundling a new font atom solely for this brand. 

---

*Generated by the brand-atoms converter. Source: `rust@1.0.0` from the encyclopedia.*
