Cocoa Color

HEX, RGB, HSL & CMYK Codes

#875f42
Format Value
HEX #875f42
RGB rgb(135, 95, 66)
HSL hsl(25.2, 34.3%, 39.4%)
CMYK cmyk(0%, 29.6%, 51.1%, 47.1%)
HSV hsv(25.2, 51.1%, 52.9%)

cocoa color harmonies

Tints & shades of cocoa

Tints (lighter)

#926e53 #9d7c64 #a88b76 #b39987 #bea898 #c8b6a9 #d3c5ba #ded3cb #e9e2dd #f4f0ee

Shades (darker)

#7b563c #6e4e36 #624530 #563c2a #4a3424 #3d2b1e #312318 #251a12 #19110c #0c0906

Contrast & accessibility

The quick brown fox

On white · 5.61:1 · AA

The quick brown fox

On black · 3.75:1 · AA Large

Recommended text color: #ffffff

Use cocoa in code

CSS color: #875f42;
SCSS $color: #875f42;
Tailwind bg-[#875f42]
Swift UIColor(red: 0.529, green: 0.373, blue: 0.259, alpha: 1)
Android Color.parseColor("#875f42")
Flutter Color(0xFF875F42)

Colors similar to cocoa

Browse all Orange colors →

What is the HEX code for cocoa?

The CSS color cocoa in HEX format is #875f42. Use this value directly in CSS, SVG, and most design tools.

How do I use cocoa in CSS?

To apply cocoa in CSS:

  • Text color: color: #875f42;
  • Background: background-color: #875f42;
  • Border: border-color: #875f42;

What are all the color format values for cocoa?

FormatValue
HEX#875f42
RGBrgb(135, 95, 66)
HSLhsl(25.2, 34.3%, 39.4%)
CMYKcmyk(0%, 29.6%, 51.1%, 47.1%)

How do I convert cocoa to HEX?

Select cocoa from the color name list in our color converter. The HEX value — #875f42 — appears instantly alongside HEX, RGB, HSL and CMYK.

What color family does cocoa belong to?

cocoa belongs to the orange color family. It is a medium, moderately saturated color with HSL values: hue 25.2°, saturation 34.3%, lightness 39.4%.

How do I create lighter and darker shades of cocoa?

Lighter variant (lightness 54.4%): #b38463. Darker variant (lightness 24.4%): #543b29. These values are computed by adjusting HSL lightness ±15% while keeping the same hue and saturation.

What is HEX used for?

HEX color codes are used in CSS, HTML and design tools. They encode red, green and blue as two hexadecimal digits each (00–FF), forming a compact 6-character code like #ff0000.