Gradient Page

#D31027

#D31027 is the HEX color code for
Crimson
Contrast
Dark
Luminance
30%
Color Conversions
Formats for Crimson (#D31027) in various color spaces.
HEX
RGB
HSL
CMYK
OKLCH
CSS Variable

Shades & Tints

LightestBaseDarkest

Color Harmonies

Complementary

Analogous

Triadic

Split Complementary

UI Component Examples

See how #D31027 looks when applied to real interface components.

Interactive Elements
Surface & Accent
Pro Tip!

Use lighter tints for backgrounds to maintain readability while keeping brand identity.

Status Indicator
Active
# CSS Variables
Copy-paste these variables into your global CSS to use this palette instantly.
:root {
  /* Crimson Base */
  --color-primary: #D31027;
  --color-primary-rgb: 211 16 39;
  --color-primary-hsl: 353 86% 45%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #fde7ea;
  --color-primary-100: #fab8c0;
  --color-primary-200: #f68895;
  --color-primary-300: #f3596b;
  --color-primary-400: #ef2a41;
  --color-primary-500: #d51027;
  --color-primary-600: #a60c1e;
  --color-primary-700: #770916;
  --color-primary-800: #47050d;
  --color-primary-900: #180204;
}

Want more?

We hope you enjoyed this color. Keep reading for more amazing colorful content for developers, designers and creators!
View our entire collection of UI gradientsView all our color names