CSS utility

Pale Violet Red CSS Utilities

Pale Violet Red CSS utilities provide reusable variables and utility classes for #DB7093. 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 Pale Violet Red #DB7093

Utility Classes

Background.bg-pale-violet-red
Text.text-pale-violet-red
Border.border-pale-violet-red
Surface.surface-pale-violet-red

CSS Snippet

:root {
  --color-pale-violet-red: #DB7093;
  --color-pale-violet-red-rgb: 219 112 147;
  --color-pale-violet-red-contrast: #111827;
}

.bg-pale-violet-red { background-color: var(--color-pale-violet-red); }
.text-pale-violet-red { color: var(--color-pale-violet-red); }
.border-pale-violet-red { border-color: var(--color-pale-violet-red); }
.surface-pale-violet-red {
  background-color: var(--color-pale-violet-red);
  color: var(--color-pale-violet-red-contrast);
  border: 1px solid color-mix(in srgb, var(--color-pale-violet-red), #111827 18%);
}
.shadow-pale-violet-red { box-shadow: 0 18px 40px rgb(var(--color-pale-violet-red-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#111827
Black contrast6.75:1
White contrast3.11:1
RGB token219 112 147

Machine-readable data

Machine-Readable Pale Violet Red CSS Utilities (JSON)

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

AI-Ready Dataset v1.0.0
Luminance0.2875
Black text6.75:1AA Pass
White text3.11:1AA Fail
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-pale-violet-red: #DB7093;",
  "rgb": "--color-pale-violet-red-rgb: 219 112 147;",
  "contrast": "--color-pale-violet-red-contrast: #111827;"
}
Utility classes
{
  "background": ".bg-pale-violet-red",
  "text": ".text-pale-violet-red",
  "border": ".border-pale-violet-red",
  "surface": ".surface-pale-violet-red",
  "shadow": ".shadow-pale-violet-red"
}
Accessibility
{
  "bestTextColor": "#111827",
  "contrast": {
    "black": 6.75,
    "white": 3.11
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A"
    ],
    "AAA": []
  }
}
Implementation
{
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "cssSnippet": ":root {\n  --color-pale-violet-red: #DB7093;\n  --color-pale-violet-red-rgb: 219 112 147;\n  --color-pale-violet-red-contrast: #111827;\n}\n\n.bg-pale-violet-red { background-color: var(--color-pale-violet-red); }\n.text-pale-violet-red { color: var(--color-pale-violet-red); }\n.border-pale-violet-red { border-color: var(--color-pale-violet-red); }\n.surface-pale-violet-red {\n  background-color: var(--color-pale-violet-red);\n  color: var(--color-pale-violet-red-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-pale-violet-red), #111827 18%);\n}\n.shadow-pale-violet-red { box-shadow: 0 18px 40px rgb(var(--color-pale-violet-red-rgb) / 28%); }"
}
Related endpoints
[
  "https://www.colorsencyclopedia.com/api/css/colors/pale-violet-red.json",
  "https://www.colorsencyclopedia.com/api/colors/pale-violet-red.json"
]
Full JSON dataset
{
  "datasetVersion": "1.0.0",
  "slug": "pale-violet-red",
  "name": "Pale Violet Red",
  "hex": "#DB7093",
  "rgb": [
    219,
    112,
    147
  ],
  "hsl": [
    340,
    60,
    65
  ],
  "cmyk": [
    0,
    49,
    33,
    14
  ],
  "luminance": 0.2875,
  "contrast": {
    "black": 6.75,
    "white": 3.11
  },
  "wcag": {
    "AA": [
      "#000000",
      "#1A1A1A"
    ],
    "AAA": []
  },
  "family": "pink",
  "temperature": "warm",
  "tone": [
    "balanced"
  ],
  "bestTextColor": "#111827",
  "cssVariables": {
    "color": "--color-pale-violet-red: #DB7093;",
    "rgb": "--color-pale-violet-red-rgb: 219 112 147;",
    "contrast": "--color-pale-violet-red-contrast: #111827;"
  },
  "utilityClasses": {
    "background": ".bg-pale-violet-red",
    "text": ".text-pale-violet-red",
    "border": ".border-pale-violet-red",
    "surface": ".surface-pale-violet-red",
    "shadow": ".shadow-pale-violet-red"
  },
  "cssSnippet": ":root {\n  --color-pale-violet-red: #DB7093;\n  --color-pale-violet-red-rgb: 219 112 147;\n  --color-pale-violet-red-contrast: #111827;\n}\n\n.bg-pale-violet-red { background-color: var(--color-pale-violet-red); }\n.text-pale-violet-red { color: var(--color-pale-violet-red); }\n.border-pale-violet-red { border-color: var(--color-pale-violet-red); }\n.surface-pale-violet-red {\n  background-color: var(--color-pale-violet-red);\n  color: var(--color-pale-violet-red-contrast);\n  border: 1px solid color-mix(in srgb, var(--color-pale-violet-red), #111827 18%);\n}\n.shadow-pale-violet-red { box-shadow: 0 18px 40px rgb(var(--color-pale-violet-red-rgb) / 28%); }",
  "useCases": [
    "CSS variables",
    "utility classes",
    "design system tokens",
    "UI surface styling",
    "accessible text pairing"
  ],
  "relatedEndpoints": [
    "https://www.colorsencyclopedia.com/api/css/colors/pale-violet-red.json",
    "https://www.colorsencyclopedia.com/api/colors/pale-violet-red.json"
  ],
  "url": "https://www.colorsencyclopedia.com/css/colors/pale-violet-red/",
  "colorUrl": "https://www.colorsencyclopedia.com/colors/pale-violet-red/",
  "hexUrl": "https://www.colorsencyclopedia.com/hex/db7093/",
  "apiUrl": "https://www.colorsencyclopedia.com/api/css/colors/pale-violet-red.json"
}