Gradient Page

#4E2020

#4E2020 is the HEX color code for
Cocoa Bean
Contrast
Dark
Luminance
18%
Color Conversions
Formats for Cocoa Bean (#4E2020) 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 #4E2020 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 {
  /* Cocoa Bean Base */
  --color-primary: #4E2020;
  --color-primary-rgb: 78 32 32;
  --color-primary-hsl: 0 42% 22%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f8eded;
  --color-primary-100: #e9c9c9;
  --color-primary-200: #daa4a4;
  --color-primary-300: #cb8080;
  --color-primary-400: #bc5c5c;
  --color-primary-500: #a34343;
  --color-primary-600: #7f3434;
  --color-primary-700: #5b2525;
  --color-primary-800: #361616;
  --color-primary-900: #120707;
}

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