{
  "$generatedBy": "BrandSweets tokens.json — ferrari-com v6",
  "brand": {
    "slug": "ferrari-com",
    "name": "Ferrari",
    "version": 6,
    "schemaVersion": "1"
  },
  "identity": {
    "name": "Ferrari",
    "sector": "Automotive / luxury sports cars"
  },
  "colors": {
    "primary": {
      "hex": "#d40000",
      "name": "Rosso Corsa",
      "usage": "Racing red — the colour Ferrari's cars are known by.",
      "scale": {
        "50": "#faefef",
        "100": "#f4d7d7",
        "200": "#ffa3a3",
        "300": "#ff6b6b",
        "400": "#ff3838",
        "500": "#ff0a0a",
        "600": "#d40000",
        "700": "#b80000",
        "800": "#8f0000",
        "900": "#5e0808",
        "950": "#3d0505"
      }
    },
    "secondary": {
      "hex": "#fff200",
      "name": "Giallo Modena",
      "usage": "The shield yellow behind the Prancing Horse.",
      "scale": {
        "50": "#fafaef",
        "100": "#f4f2d7",
        "200": "#fffaa3",
        "300": "#fff86b",
        "400": "#fff538",
        "500": "#fff200",
        "600": "#e0d500",
        "700": "#b8ae00",
        "800": "#8f8800",
        "900": "#5e5a08",
        "950": "#3d3b05"
      }
    },
    "surface": {
      "hex": "#ffffff",
      "name": "White",
      "usage": "Page and card background.",
      "scale": {
        "50": "#ffffff",
        "100": "#e6e6e6",
        "200": "#d1d1d1",
        "300": "#b5b5b5",
        "400": "#9c9c9c",
        "500": "#858585",
        "600": "#707070",
        "700": "#5c5c5c",
        "800": "#474747",
        "900": "#333333",
        "950": "#212121"
      }
    },
    "text": {
      "hex": "#000000",
      "name": "Black",
      "usage": "Body text on surface.",
      "scale": {
        "50": "#f5f5f5",
        "100": "#e6e6e6",
        "200": "#d1d1d1",
        "300": "#b5b5b5",
        "400": "#9c9c9c",
        "500": "#858585",
        "600": "#707070",
        "700": "#5c5c5c",
        "800": "#474747",
        "900": "#333333",
        "950": "#000000"
      }
    }
  },
  "typography": {
    "families": {
      "ferrarisans": {
        "family": "FerrariSans",
        "source": "custom",
        "stack": "FerrariSans, sans-serif",
        "weights": [
          400,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      }
    },
    "roles": {
      "heading": {
        "familyRef": "ferrarisans",
        "stack": "FerrariSans, sans-serif"
      },
      "body": {
        "familyRef": "ferrarisans",
        "stack": "FerrariSans, sans-serif"
      }
    },
    "scale": [
      {
        "name": "sm",
        "sizeRem": 0.875,
        "lineHeight": 1.5
      },
      {
        "name": "base",
        "sizeRem": 1,
        "lineHeight": 1.6
      },
      {
        "name": "lg",
        "sizeRem": 1.25,
        "lineHeight": 1.4
      },
      {
        "name": "xl",
        "sizeRem": 1.75,
        "lineHeight": 1.25
      },
      {
        "name": "2xl",
        "sizeRem": 2.25,
        "lineHeight": 1.15
      },
      {
        "name": "display",
        "sizeRem": 3.5,
        "lineHeight": 1.05,
        "letterSpacingEm": -0.02
      }
    ]
  },
  "brandGradient": {
    "brand": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.831,
              0,
              0
            ],
            "hex": "#d40000"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              1,
              0.949,
              0
            ],
            "hex": "#fff200"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #d40000 0%, #fff200 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "brand",
          "contrast": {
            "white": {
              "ratio": 1.17,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 3.799,
              "at": 0,
              "passesAA": false,
              "passesAALarge": true
            },
            "suggestedInk": "#000000"
          }
        }
      },
      "$description": "The canonical brand gradient (--brand-gradient)."
    },
    "hero": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.635,
              0.408,
              0.373
            ],
            "hex": "#a2685f"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.98,
              0.973,
              0.761
            ],
            "hex": "#faf8c2"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklab, #a2685f 0%, #faf8c2 100%)",
          "interpolation": "oklab",
          "angle": 135,
          "name": "hero",
          "ink": "#000000",
          "contrast": {
            "white": {
              "ratio": 1.09,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 4.682,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "suggestedInk": "#000000"
          }
        }
      },
      "$description": "Low-chroma hero background with a text-safe ink (--brand-gradient-hero)."
    },
    "button": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.847,
              0.047,
              0.027
            ],
            "hex": "#d80c07"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.718,
              0,
              0
            ],
            "hex": "#b70000"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(180deg in oklch shorter hue, #d80c07 0%, #b70000 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 180,
          "name": "button",
          "ink": "#ffffff",
          "states": {
            "hover": "linear-gradient(180deg in oklch shorter hue, #e32218 0%, #c50000 100%)",
            "active": "linear-gradient(180deg in oklch shorter hue, #cd0000 0%, #a80000 100%)"
          },
          "contrast": {
            "white": {
              "ratio": 5.282,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 3.013,
              "at": 1,
              "passesAA": false,
              "passesAALarge": true
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Button / CTA surface with hover and active states (--brand-gradient-button)."
    }
  }
}