Skip to content
PantoneTools
brown
X11 named colors

Chocolate4

chocolate4 · #8B4513

HEX

#8B4513

RGB

rgb(139, 69, 19)

CMYK

cmyk(0%, 50%, 86%, 45%)

HSL

hsl(25, 76%, 31%)

LAB

lab(37.5, 26.4, 41.0)

What is Chocolate4?

Chocolate4 is the chocolate4 reference in the X11 named colors. Its sRGB value is #8B4513 (rgb 139, 69, 19). It sits in the brown family. Historical X Window System color names — the numbered 1-4 lightness variants of the classic xorg-server rgb.txt palette. See disclaimer for accuracy and trademark notes.

Accessibility

WCAG 2.1 contrast checks for Chocolate4 as a background.

Black text on this color

Sample text · 2.96 : 1
AA Normal
AA Large
AAA Normal
AAA Large

White text on this color

Sample text · 7.10 : 1
AA Normal
AA Large
AAA Normal
AAA Large

Shades, tints & tonal scale of Chocolate4

An 11-step tonal scale derived from Chocolate4 (#8B4513). Click any swatch to copy its HEX. Use these as a starting point for design tokens, hover states, and disabled states in a design system.

Copied #F6F0EC

50

#F6F0EC

#F6F0EC

Copied #ECE1D9

100

#ECE1D9

#ECE1D9

Copied #DAC3B3

200

#DAC3B3

#DAC3B3

Copied #C5A289

300

#C5A289

#C5A289

Copied #A8744E

400

#A8744E

#A8744E

Copied #8B4513

500

#8B4513

#8B4513

Copied #763B10

600

#763B10

#763B10

Copied #5A2D0C

700

#5A2D0C

#5A2D0C

Copied #3F1F09

800

#3F1F09

#3F1F09

Copied #231105

900

#231105

#231105

Copied #110802

950

#110802

#110802

Lighter tints (mixed with white)

Copied #A47C6E

15%

#A47C6E

Copied #B89E96

30%

#B89E96

Copied #CAB9B3

45%

#CAB9B3

Copied #DACFCC

60%

#DACFCC

Copied #E9E3E1

75%

#E9E3E1

Darker shades (mixed with black)

Copied #814011

15%

#814011

Copied #763A0E

30%

#763A0E

Copied #69330C

45%

#69330C

Copied #5A2B09

60%

#5A2B09

Copied #482105

75%

#482105

Color harmonies for Chocolate4

Classic color-theory harmonies derived from rotating the hue of Chocolate4. Use these to build accent palettes, brand systems, and accessible UI color pairings.

Complementary

180° opposite — strongest contrast

Copied #8B4513

#8B4513

#8B4513

Copied #13598B

#13598B

#13598B

Triadic

Three colors 120° apart

Copied #8B4513

#8B4513

#8B4513

Copied #138B45

#138B45

#138B45

Copied #45138B

#45138B

#45138B

Analogous

Two neighbors ±30° on the wheel

Copied #8B131D

#8B131D

#8B131D

Copied #8B4513

#8B4513

#8B4513

Copied #8B8113

#8B8113

#8B8113

Split-complementary

Base + two colors flanking its complement

Copied #8B4513

#8B4513

#8B4513

Copied #138B81

#138B81

#138B81

Copied #131D8B

#131D8B

#131D8B

Tetradic

Two complementary pairs

Copied #8B4513

#8B4513

#8B4513

Copied #598B13

#598B13

#598B13

Copied #13598B

#13598B

#13598B

Copied #45138B

#45138B

#45138B

Square

Four colors evenly spaced 90° apart

Copied #8B4513

#8B4513

#8B4513

Copied #1D8B13

#1D8B13

#1D8B13

Copied #13598B

#13598B

#13598B

Copied #81138B

#81138B

#81138B

Chocolate4 in every color space

Full conversion of Chocolate4 across the color spaces designers and developers actually use — including OKLCH (the perceptually-uniform space that powers Tailwind v4 and CSS Color Module Level 4) and HWB.

HEX

#8B4513

RGB

rgb(139, 69, 19)

CMYK

cmyk(0%, 50%, 86%, 45%)

HSL

hsl(25, 76%, 31%)

HSV

hsv(25, 86%, 55%)

HWB

hwb(25 7% 45%)

CIE Lab

lab(37.5 26.4 41.0)

OKLCH

oklch(47.1% 0.112 50.8)

XYZ (D65)

xyz(12.89, 9.79, 1.83)

Copy-ready code for Chocolate4

Drop-in snippets for CSS, Tailwind, Sass, iOS Swift, and Android XML. Click the copy button on any snippet to put it on your clipboard.

CSS

color: #8B4513;
background-color: #8B4513;

CSS variable

:root {
  --color-chocolate4: #8B4513;
}

Tailwind config

// tailwind.config.js
colors: {
  'chocolate4': '#8B4513',
}

Sass

$color-chocolate4: #8B4513;

Swift UIColor

UIColor(red: 0.545, green: 0.271, blue: 0.075, alpha: 1.0)

Android XML

<color name="chocolate4">#8B4513</color>

Closest match in every color system

The nearest Chocolate4 equivalent in every other color system on this site, ranked by ΔE2000 perceptual distance. Useful when translating between design-system, web-standard, and industrial color references.

Closest in X11 named colors

Top 6 ΔE2000-closest entries within the same collection.

Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.

Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.

Copied #734222

RAL 8003

#734222

Clay brown

Copied #8E402A

RAL 8004

#8E402A

Copper brown

Copied #A65E2E

RAL 8023

#A65E2E

Orange brown

Copied #955F20

RAL 8001

#955F20

Ochre brown

Copied #79553D

RAL 8024

#79553D

Beige brown

Copied #6F4F28

RAL 8008

#6F4F28

Olive brown

FAQ about Chocolate4

What is the HEX code for Chocolate4?

Chocolate4 (chocolate4) has the HEX code #8B4513. In RGB it is rgb(139, 69, 19), and in CMYK it is cmyk(0%, 50%, 86%, 45%).

What is the OKLCH value of Chocolate4?

Chocolate4 converts to oklch(0.471 0.112 50.8). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Chocolate4 accessible for body text?

Used as a background, Chocolate4 has a contrast ratio of 2.96:1 with black text and 7.10:1 with white text. WCAG 2.1 AA requires 4.5:1 for normal text. The current recommendation is to use white text and verify in real UI context.

What is the closest Pantone to Chocolate4?

The closest Pantone reference to Chocolate4 by ΔE2000 perceptual distance is Pantone 730 C (#80461B). Cross-system Pantone matching is approximate; for color-critical print work, verify with a physical Pantone guide.

What is the closest RAL color to Chocolate4?

The closest RAL Classic reference to Chocolate4 by ΔE2000 distance is RAL 8003 (Clay brown, #734222). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Chocolate4?

The complementary color (180° opposite on the HSL color wheel) of Chocolate4 is #13598B. Use it for high-contrast accents, error states, or call-to-action pairings.

Data provenance & source

X11 named colors (xorg rgb.txt)

The historical X11 color name list shipped in the xorg-server rgb.txt file. Roughly 550 entries covering classic computing color names like 'PapayaWhip', 'MediumAquamarine', and 'DarkSlateGray'. Many CSS named colors originate here. Use as a reference for legacy and creative color names. Most modern CSS implementations accept these names directly.

Source type
derived
Confidence
high
License
MIT/X11 license (X Consortium)
Last reviewed
2026-05-24

Workflow tags

x11
named-color
legacy
brown

X11 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.

X11 named colors · Chocolate4 — #8B4513 | PantoneTools