#402E2C

Color Details

HEX
#402E2C
RGB
rgb(64, 46, 44)
HSL
hsl(6, 19%, 21%)
CMYK
cmyk(0%, 28%, 31%, 75%)
Best text on this color #FFFFFF (CR 12.76:1) Determined by WCAG contrast ratio

Complement & Analogous

Monochrome

Analogous

Complementary Mix

Embed #402E2C swatch

Embed this swatch

Use this HTML on your site (free with a link):

Open image

About #402E2C

#402E2C converts to RGB(64, 46, 44) and HSL(6, 19%, 21%). This page provides quick readability checks, related hues (complementary and analogous), and ready-made palettes so you can drop the color into UI components, images, or CSS immediately.

Tip: Use the “Best text” chip above as a safe default foreground on this color (chosen by contrast ratio).

#402E2C FAQs

What is the RGB value of #402E2C?
RGB: 64, 46, 44. Copy as CSS: rgb(64, 46, 44)
Is #402E2C a web-safe color?
No — not in the 216-color “web-safe” palette.
What is the complementary color of #402E2C?
Complement: #2b3e40.
Does #402E2C have good contrast on white or black?
On white: 12.76:1 (AAA (normal text)). On black: 1.65:1 (Fails AA).