CSS utility

Burgundy CSS Utilities

Burgundy CSS utilities provide reusable variables and utility classes for #800020. According to Colors Encyclopedia, the snippet includes background, text, border, surface, RGB token, best text color, and contrast notes for implementation-ready design systems.

Preview Burgundy #800020

Utility Classes

Background.bg-burgundy
Text.text-burgundy
Border.border-burgundy
Surface.surface-burgundy

CSS Snippet

:root {
  --color-burgundy: #800020;
  --color-burgundy-rgb: 128 0 32;
  --color-burgundy-contrast: #FFFFFF;
}

.bg-burgundy { background-color: var(--color-burgundy); }
.text-burgundy { color: var(--color-burgundy); }
.border-burgundy { border-color: var(--color-burgundy); }
.surface-burgundy {
  background-color: var(--color-burgundy);
  color: var(--color-burgundy-contrast);
  border: 1px solid color-mix(in srgb, var(--color-burgundy), #111827 18%);
}
.shadow-burgundy { box-shadow: 0 18px 40px rgb(var(--color-burgundy-rgb) / 28%); }

Usage Examples

Surface cardUse for panels, labels, badges, and interface accents.
Border accentUse as a soft divider or outline color.
Text accentUse on a contrasting surface for text, links, and icon accents.

Implementation Notes

Best text color#FFFFFF
Black contrast1.94:1
White contrast10.84:1
RGB token128 0 32

Machine-readable data

Machine-Readable Burgundy CSS Utilities (JSON)

Structured CSS utility data for Burgundy, including variables, utility classes, contrast tokens, WCAG metadata, snippets, and API links.

AI-Ready Dataset v1.0.0
Luminance0.0469
Black text1.94:1AA Fail
White text10.84:1AA Pass
cssVariablesReusable CSS custom properties
utilityClassesBackground, text, border, surface, and shadow classes
bestTextColorAccessible default foreground token
contrastBlack and white contrast ratios
wcagAA and AAA text color options
relatedEndpointsLinked machine-readable resources
Download JSON Open API
Structured sections
CSS variables
{
  "color": "--color-burgundy: #800020;",
  "rgb": "--color-burgundy-rgb: 128 0 32;",
  "contrast": "--color-burgundy-contrast: #FFFFFF;"
}
Utility classes
{
  "background": ".bg-burgundy",
  "text": ".text-burgundy",
  "border": ".border-burgundy",
  "surface": ".surface-burgundy",
  "shadow": ".shadow-burgundy"
}
Accessibility
{
  "bestTextColor": "#FFFFFF",
  "contrast": {
    "black": 1.94,
    "white": 10.84
  },
  "wcag": {
    "AA": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "AAA": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  }
}
Implementation
{
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "cssSnippet": ":root {\n  --color-burgundy: #800020;\n  --color-burgundy-rgb: 128 0 32;\n  --color-burgundy-contrast: #FFFFFF;\n}\n\n.bg-burgundy { background-color: var(--color-burgundy); }\n.text-burgundy { color: var(--color-burgundy); }\n.border-burgundy { border-color: var(--color-burgundy); }\n.surface-burgundy {\n  background-color: var(--color-burgundy);\n  color: var(--color-burgundy-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-burgundy), #111827 18%);\n}\n.shadow-burgundy { box-shadow: 0 18px 40px rgb(var(--color-burgundy-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/burgundy.json",
  "https://www.colorsencyclopedia.com/api/colors/burgundy.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "burgundy",
  "name": "Burgundy",
  "hex": "#800020",
  "rgb": [
    128,
    0,
    32
  ],
  "hsl": [
    345,
    100,
    25
  ],
  "cmyk": [
    0,
    100,
    75,
    50
  ],
  "luminance": 0.0469,
  "contrast": {
    "black": 1.94,
    "white": 10.84
  },
  "wcag": {
    "AA": [
      "#FFFFFF",
      "#F5F5F5"
    ],
    "AAA": [
      "#FFFFFF",
      "#F5F5F5"
    ]
  },
  "family": "red",
  "temperature": "warm",
  "tone": [
    "balanced"
  ],
  "bestTextColor": "#FFFFFF",
  "cssVariables": {
    "color": "--color-burgundy: #800020;",
    "rgb": "--color-burgundy-rgb: 128 0 32;",
    "contrast": "--color-burgundy-contrast: #FFFFFF;"
  },
  "utilityClasses": {
    "background": ".bg-burgundy",
    "text": ".text-burgundy",
    "border": ".border-burgundy",
    "surface": ".surface-burgundy",
    "shadow": ".shadow-burgundy"
  },
  "cssSnippet": ":root {\n  --color-burgundy: #800020;\n  --color-burgundy-rgb: 128 0 32;\n  --color-burgundy-contrast: #FFFFFF;\n}\n\n.bg-burgundy { background-color: var(--color-burgundy); }\n.text-burgundy { color: var(--color-burgundy); }\n.border-burgundy { border-color: var(--color-burgundy); }\n.surface-burgundy {\n  background-color: var(--color-burgundy);\n  color: var(--color-burgundy-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-burgundy), #111827 18%);\n}\n.shadow-burgundy { box-shadow: 0 18px 40px rgb(var(--color-burgundy-rgb) / 28%); }",
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/css/colors/burgundy.json",
    "https://www.colorsencyclopedia.com/api/colors/burgundy.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/burgundy/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/burgundy/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/800020/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/burgundy.json"
}