Cocoa Brown

#2A1B21

General Information about Cocoa Brown (#2A1B21)

The hex color #2A1B21, also known as Cocoa Brown, is a dark and muted shade of brown that evokes feelings of warmth, comfort, and sophistication. It is composed of 16.5% red, 10.6% green, and 12.9% blue. In the RGB color model, this translates to R:42, G:27, B:33. The CMYK values are C:0, M:0.36, Y:0.21, K:0.84. This color is often associated with earth tones, natural materials, and rustic environments. It is frequently used in design to create a sense of grounding and stability, making it a popular choice for backgrounds, text, and accent elements. Cocoa Brown can be used in a broad range of applications from web design to interior design to fashion.

The hex color #2A1B21, also known as Cocoa Brown, presents some accessibility challenges, particularly regarding color contrast. When used as a background color, it is crucial to pair it with light text colors to ensure sufficient contrast for readability. A contrast ratio of at least 4.5:1 is recommended for normal-sized text, as per WCAG guidelines. For larger text (14pt bold or 18pt regular), a contrast ratio of 3:1 is acceptable. It's important to test color combinations using accessibility tools to verify compliance. Using darker shades of brown can affect the readability. When using #2A1B21 for interactive elements like buttons or links, careful consideration should be given to focus states and hover effects, which are essential for keyboard navigation. Ensuring these elements are easily distinguishable improves usability for users with visual impairments.

Shades

Digital Color Formats

RGB
42 27 33
RGB42 27 33
Red
Green
Blue
HSL
336deg 21.74% 13.53%
33621.7413.53HSL
Hue
Saturation
Lightness
HWB
336deg 10.59% 83.53%
33610.5983.53HWB
Hue
Whiteness
Blackness
hex#2A1B21
rgb42 27 33
hsl336deg 21.74% 13.53%
cmyk0% 35.71% 21.43% 83.53%
hwb336deg 10.59% 83.53%
xyz-d650.02 0.01 0.02
oklch0.2435 0.0258 353.39
oklab0.2435 0.03 0
CMYK
0% 35.71% 21.43% 83.53%
035.7121.4383.53CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.01 0.02
0.020.010.02XYZ
X
Y
Z
OKLCH
0.2435 0.0258 353.39
0.24350.0258353.39LCH
Lightness
Chroma
Hue
OKLAB
0.2435 0.03 0
0.24350.030LAB
Lightness
Green-Red
Blue-Yellow

Alternative colors

Applications

Complementary color

Buttons