#40332A color

#40332A rgb(64, 51, 42)
Shades of gray

The hex color #40332A is a dark, grayish orange.

In the RGB color model it is made of 25.1% red, 20% green and 16.5% blue (64, 51, 42).

Its hue angle is 25°, with 21% saturation and 21% lightness. For print, the CMYK equivalent is 0% cyan, 20% magenta, 34% yellow and 75% black.

The closest named color is Dark Rum (#45362B), a difference of 1.6 ΔE, which is barely visible.

White text is the more readable choice on this background (contrast 12.17:1).

#40332A color codes

HEX#40332A
RGBrgb(64, 51, 42)
RGB percentrgb(25.1%, 20%, 16.5%)
HSLhsl(25, 21%, 21%)
HSV / HSBhsv(25, 34%, 25%)
CMYKcmyk(0%, 20%, 34%, 75%)
CIE LABlab(22.39, 4.23, 7.91)
CIE LCHlch(22.39, 8.97, 61.9)
CIE XYZxyz(3.716, 3.625, 2.694)
Decimal4207402
Short hexNone (no 3-digit form)

Color harmonies

Colors that go with #40332A, based on their position on the color wheel.

Complementary

The color opposite on the color wheel (180°). Strongest contrast.

Analogous

Neighbors 30° either side. Calm, natural combinations.

Split complementary

The two colors next to the complement (150° and 210°).

Triadic

Three colors evenly spaced, 120° apart.

Tetradic (square)

Four colors 90° apart.

Shades, tints and tones

Shades (darker, mixed with black)

Tints (lighter, mixed with white)

Tones (mixed with gray)

Contrast and accessibility

Text on #40332ARatioAAAAAAA large
Sample text1.72:1FailFailFail
Sample text12.17:1PassPassPass
#40332A as text onRatioAAAAAAA large
Sample text12.17:1PassPassPass
Sample text1.72:1FailFailFail

WCAG 2 asks for 4.5:1 for normal text (AA), 7:1 for AAA, and 3:1 for large text. Check other pairs.

Color blindness simulation

How #40332A looks to people with the most common types of color vision deficiency.

CSS examples

.background { background-color: #40332a; }
.text { color: #40332a; }
.border { border: 2px solid #40332a; }
.transparent { background-color: rgb(64 51 42 / 50%); }
.gradient { background: linear-gradient(to right, #40332a, #403e2a); }
Background
Text color
Border

Similar colors

Questions

What color is #40332A?
#40332A is a dark, grayish orange, closest to the named color Dark Rum. It belongs to the gray family of colors.
What is the RGB value of #40332A?
The RGB value is 64, 51, 42: 64 red, 51 green and 42 blue on a 0 to 255 scale.
What is the complementary color of #40332A?
The complementary color is #2A3740, found by rotating the hue 180° on the color wheel.
Is black or white text better on #40332A?
White text. Black text has a contrast ratio of 1.72:1 and white text 12.17:1. WCAG asks for at least 4.5:1 for normal text.