Cocoa Brown

#2A1F1E

General Information about Cocoa Brown

The hexadecimal color code #2A1F1E represents a dark, muted shade of brown, often described as 'Cocoa Brown'. It is composed of 16.47% red, 12.16% green, and 11.76% blue. In the RGB color space, it is defined as (42, 31, 30). This color belongs to the brown color family, known for its association with earth, nature, and stability. The hex code is commonly used in web design, graphic design, and other digital media applications to precisely specify this particular shade of brown. This color conveys feelings of warmth, comfort, and sophistication, making it a popular choice for backgrounds, text, and accent elements. Because of its muted nature, it works well when creating an understated but classic effect.

The hex color #2A1F1E, also known as Cocoa Brown, presents some accessibility challenges, particularly concerning color contrast. When used as text on a white background, the contrast ratio may not meet WCAG (Web Content Accessibility Guidelines) standards, potentially causing readability issues for users with visual impairments. Similarly, when used as a background color, text placed on top of it might require careful color selection to ensure sufficient contrast. To enhance accessibility, consider using lighter text colors such as white or light gray when using #2A1F1E as a background. Conversely, if using it as a text color, opt for lighter backgrounds like white, off-white, or very pale yellow. Tools like WebAIM's contrast checker can help verify adequate contrast ratios, aiming for at least 4.5:1 for normal text and 3:1 for large text (14pt bold or 18pt regular).

Shades

Digital Color Formats

RGB
42 31 30
RGB42 31 30
Red
Green
Blue
HSL
5 16.67% 14.12%
516.6714.12HSL
Hue
Saturation
Lightness
HWB
5 11.76% 83.53%
511.7683.53HWB
Hue
Whiteness
Blackness
hex#2A1F1E
rgb42 31 30
hsl5 16.67% 14.12%
cmyk0% 26.19% 28.57% 83.53%
hwb5 11.76% 83.53%
xyz-d650.02 0.02 0.01
oklch0.2521 0.0173 24.3
oklab0.2521 0.02 0.01
CMYK
0% 26.19% 28.57% 83.53%
026.1928.5783.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.01
0.020.020.01XYZ
X
Y
Z
OKLCH
0.2521 0.0173 24.3
0.25210.017324.3LCH
Lightness
Chroma
Hue
OKLAB
0.2521 0.02 0.01
0.25210.020.01LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons