Gradient Page

#301F1E

#301F1E is the HEX color code for
Cocoa Brown
#301F1E

Cocoa Brown

Contrast
Dark
Luminance
14%
Color Conversions
Formats for Cocoa Brown (#301F1E) in various color spaces.
#301F1E
48, 31, 30
3°, 23%, 15%
0%, 35%, 37%, 81%
0.26, 0.027, 22.8
--color-cocoa-brown: #301F1E;

Shades & Tints

#f5f0ef
#e2d1d0
#ceb2b1
#ba9391
#a77472
#8d5b58
#6e4745
#4e3331
#2f1e1d
#100a0a
DarkestBaseLightest

Color Harmonies

Complementary

#301F1E
#1d2e2f

Analogous

#2f1d25
#301F1E
#2f271d

Triadic

#301F1E
#1d2f1e
#1e1d2f

Split Complementary

#301F1E
#1d2f27
#1d252f

UI Component Examples

See how #301F1E 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 Brown Base */
  --color-primary: #301F1E;
  --color-primary-rgb: 48 31 30;
  --color-primary-hsl: 3 23% 15%;
  
  /* Foreground text color based on contrast */
  --color-primary-foreground: #ffffff;

  /* Shades */
  --color-primary-50:  #f5f0ef;
  --color-primary-100: #e2d1d0;
  --color-primary-200: #ceb2b1;
  --color-primary-300: #ba9391;
  --color-primary-400: #a77472;
  --color-primary-500: #8d5b58;
  --color-primary-600: #6e4745;
  --color-primary-700: #4e3331;
  --color-primary-800: #2f1e1d;
  --color-primary-900: #100a0a;
}

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
#301F1E Hex Color | Cocoa Brown sl | UI Color Scheme Generator