{
  "$generatedBy": "BrandSweets tokens.json — huawei-com v4",
  "brand": {
    "slug": "huawei-com",
    "name": "Huawei",
    "version": 4,
    "schemaVersion": "1"
  },
  "identity": {
    "name": "Huawei",
    "tagline": "Huawei is a leading global provider of information and communications technology (ICT) infrastructure and smart devices.",
    "sector": "electronics"
  },
  "colors": {
    "primary": {
      "hex": "#cf0a2c",
      "name": "Huawei Red",
      "usage": "The petal mark's red.",
      "scale": {
        "50": "#faf0f1",
        "100": "#f2d9dd",
        "200": "#fba7b5",
        "300": "#f87288",
        "400": "#f6415f",
        "500": "#f4153a",
        "600": "#cf0a2c",
        "700": "#af0824",
        "800": "#88061c",
        "900": "#5a0c19",
        "950": "#3b0810"
      }
    },
    "secondary": {
      "hex": "#c7000b",
      "name": "Dark Red",
      "usage": "Secondary brand color.",
      "scale": {
        "50": "#faeff0",
        "100": "#f4d7d9",
        "200": "#ffa3a8",
        "300": "#ff6b72",
        "400": "#ff3842",
        "500": "#ff0a16",
        "600": "#e0000b",
        "700": "#c7000b",
        "800": "#8f0007",
        "900": "#5e080c",
        "950": "#3d0508"
      }
    },
    "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": "#191919",
      "name": "Charcoal",
      "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": "#191919"
      }
    }
  },
  "typography": {
    "families": {
      "huaweisans-bold": {
        "family": "HuaweiSans-Bold",
        "source": "custom",
        "stack": "HuaweiSans-Bold, Helvetica, Arial, sans-serif",
        "weights": [
          400,
          600,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      },
      "huaweisans-regular": {
        "family": "HuaweiSans-Regular",
        "source": "custom",
        "stack": "HuaweiSans-Regular, Helvetica, Arial, sans-serif",
        "weights": [
          400,
          700
        ],
        "licensingNote": "Auto-detected web font; provenance unconfirmed. Reference only — never rehost without a license."
      }
    },
    "roles": {
      "heading": {
        "familyRef": "huaweisans-bold",
        "stack": "HuaweiSans-Bold, Helvetica, Arial, sans-serif"
      },
      "body": {
        "familyRef": "huaweisans-regular",
        "stack": "HuaweiSans-Regular, Helvetica, Arial, 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": [
              1,
              0.404,
              0.408
            ],
            "hex": "#ff6768"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.812,
              0.039,
              0.173
            ],
            "hex": "#cf0a2c"
          },
          "position": 0.5
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.494,
              0,
              0.043
            ],
            "hex": "#7e000b"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklch shorter hue, #ff6768 0%, #cf0a2c 50%, #7e000b 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 135,
          "name": "brand",
          "contrast": {
            "white": {
              "ratio": 2.841,
              "at": 0,
              "passesAA": false,
              "passesAALarge": false
            },
            "black": {
              "ratio": 1.892,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "The canonical brand gradient (--brand-gradient)."
    },
    "hero": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.612,
              0.404,
              0.392
            ],
            "hex": "#9c6764"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.424,
              0.2,
              0.188
            ],
            "hex": "#6c3330"
          },
          "position": 0.5
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.188,
              0.071,
              0.075
            ],
            "hex": "#301213"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(135deg in oklch shorter hue, #9c6764 0%, #6c3330 50%, #301213 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 135,
          "name": "hero",
          "ink": "#ffffff",
          "contrast": {
            "white": {
              "ratio": 4.628,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 1.222,
              "at": 1,
              "passesAA": false,
              "passesAALarge": false
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Low-chroma hero background with a text-safe ink (--brand-gradient-hero)."
    },
    "button": {
      "$type": "gradient",
      "$value": [
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.839,
              0.102,
              0.196
            ],
            "hex": "#d61a32"
          },
          "position": 0
        },
        {
          "color": {
            "colorSpace": "srgb",
            "components": [
              0.725,
              0,
              0.102
            ],
            "hex": "#b9001a"
          },
          "position": 1
        }
      ],
      "$extensions": {
        "com.brandsweets": {
          "kind": "linear",
          "css": "linear-gradient(180deg in oklch shorter hue, #d61a32 0%, #b9001a 100%)",
          "interpolation": "oklch",
          "hue": "shorter",
          "angle": 180,
          "name": "button",
          "ink": "#ffffff",
          "states": {
            "hover": "linear-gradient(180deg in oklch shorter hue, #e12b3b 0%, #c40023 100%)",
            "active": "linear-gradient(180deg in oklch shorter hue, #cb0029 0%, #aa0016 100%)"
          },
          "contrast": {
            "white": {
              "ratio": 5.181,
              "at": 0,
              "passesAA": true,
              "passesAALarge": true
            },
            "black": {
              "ratio": 3.078,
              "at": 0.9841,
              "passesAA": false,
              "passesAALarge": true
            },
            "suggestedInk": "#ffffff"
          }
        }
      },
      "$description": "Button / CTA surface with hover and active states (--brand-gradient-button)."
    }
  }
}