#402018
Embed This Widget
Add the script tag and a data attribute to embed this widget.
Embed via iframe for maximum compatibility.
<iframe src="https://colorfyi.com/iframe/entity/402018/" width="420" height="400" frameborder="0" style="border:0;border-radius:10px;max-width:100%" loading="lazy"></iframe>
Paste this URL in WordPress, Medium, or any oEmbed-compatible platform.
https://colorfyi.com/color/402018/
Add a dynamic SVG badge to your README or docs.
[](https://colorfyi.com/color/402018/)
Use the native HTML custom element.
#402018
Overview
#402018 is a warm, dark color. In RGB it is 64, 32, 24, in HSL 12.0°, 45.5%, 17.3%, and in CMYK 0.0%, 50.0%, 62.5%, 74.9%. The nearest named color is RAL 8016 Mahogany Brown.
On this page
Color Values
#402018
64, 32, 24
12.0, 45.5%, 17.3%
12.0, 62.5%, 25.1%
0.0%, 50.0%, 62.5%, 74.9%
0.2852 0.0519 35.0
Properties
Color Psychology
Dark browns like chocolate and espresso project richness, indulgence, and masculine elegance. They carry the warmth of wood-paneled studies and aged leather, evoking comfort and established tradition. These deep tones suggest solidity, dependability, and mature sophistication.
Design Usage
Dark brown excels as a text color alternative to pure black, providing warmth and reducing visual harshness. It suits coffee roasters, chocolate brands, and heritage accessories with a tradition focus. Pair it with cream, gold, or burnt orange for a luxurious, warm-toned design system.
Color Harmonies
Color Blindness Simulation
CSS Usage
background-color: #402018;
color: #402018;
border-color: #402018;
Yellow 950
#422006
Tailwind Shades
Contrast Checker
Text on white
14.61:1
Text on black
1.44:1
Compare With
Related Articles
Frequently Asked Questions
What are the RGB, HSL, and CMYK values of #402018?
RGB(64, 32, 24) · HSL(12.0, 45.5%, 17.3%) · CMYK(0.0%, 50.0%, 62.5%, 74.9%)
Does #402018 meet WCAG contrast on white?
14.61:1 — WCAG AA Pass, AAA Pass for normal text.
What text color is readable on #402018?
Use FFFFFF text on a #402018 background; contrast on black is 1.44:1.