Cocoa Brown

#281F23

General Information about Cocoa Brown (#281F23)

The hexadecimal color code #281F23 represents a dark shade of brown, specifically a color often referred to as Cocoa Brown. It is composed of 15.7% red, 12.2% green, and 13.7% blue. In the RGB color model, these values translate to R:40, G:31, B:35. The CMYK representation of #281F23 is C:0, M:23, Y:13, K:84, meaning it's primarily composed of black with small amounts of magenta and yellow. This color falls within the brown color family, evoking feelings of warmth, earthiness, and stability. It is frequently used in design to create a sense of comfort and sophistication. Understanding its composition and properties is crucial for designers and developers when incorporating it into various projects, from web design to branding.

The hex color #281F23, also known as Cocoa Brown, presents some accessibility challenges, especially concerning text and interactive elements. Due to its relatively low luminance, it requires careful consideration of contrast ratios. When used as a background color, it's crucial to ensure that any foreground text or interactive elements meet the WCAG (Web Content Accessibility Guidelines) AA standard, which mandates a contrast ratio of at least 4.5:1 for normal text and 3:1 for large text. Failure to meet these ratios can render content difficult or impossible to read for users with visual impairments. Tools like contrast checkers can help verify compliance. When using Cocoa Brown for purely decorative purposes, the contrast requirements are less stringent, but it's always a good practice to prioritize accessibility whenever possible. Avoid using it for critical information or actions without sufficient contrast.

Shades

Digital Color Formats

RGB
40 31 35
RGB40 31 35
Red
Green
Blue
HSL
333.33 12.68% 13.92%
333.3312.6813.92HSL
Hue
Saturation
Lightness
HWB
333.33 12.16% 84.31%
333.3312.1684.31HWB
Hue
Whiteness
Blackness
hex#281F23
rgb40 31 35
hsl333.33 12.68% 13.92%
cmyk0% 22.5% 12.5% 84.31%
hwb333.33 12.16% 84.31%
xyz-d650.02 0.02 0.02
oklch0.2515 0.0156 349.64
oklab0.2515 0.02 0
CMYK
0% 22.5% 12.5% 84.31%
022.512.584.31CMYK
Cyan
Magenta
Yellow
Key
XYZ-d65
0.02 0.02 0.02
0.020.020.02XYZ
X
Y
Z
OKLCH
0.2515 0.0156 349.64
0.25150.0156349.64LCH
Lightness
Chroma
Hue
OKLAB
0.2515 0.02 0
0.25150.020LAB
Lightness
Green–Red
Blue–Yellow

Alternative colors

Applications

Complementary color

Buttons