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
White text on this color
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.
50
#F6F0EC
#F6F0EC
100
#ECE1D9
#ECE1D9
200
#DAC3B3
#DAC3B3
300
#C5A289
#C5A289
400
#A8744E
#A8744E
500
#8B4513
#8B4513
600
#763B10
#763B10
700
#5A2D0C
#5A2D0C
800
#3F1F09
#3F1F09
900
#231105
#231105
950
#110802
#110802
Lighter tints (mixed with white)
15%
#A47C6E
30%
#B89E96
45%
#CAB9B3
60%
#DACFCC
75%
#E9E3E1
Darker shades (mixed with black)
15%
#814011
30%
#763A0E
45%
#69330C
60%
#5A2B09
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
#8B4513
#8B4513
#13598B
#13598B
Triadic
Three colors 120° apart
#8B4513
#8B4513
#138B45
#138B45
#45138B
#45138B
Analogous
Two neighbors ±30° on the wheel
#8B131D
#8B131D
#8B4513
#8B4513
#8B8113
#8B8113
Split-complementary
Base + two colors flanking its complement
#8B4513
#8B4513
#138B81
#138B81
#131D8B
#131D8B
Tetradic
Two complementary pairs
#8B4513
#8B4513
#598B13
#598B13
#13598B
#13598B
#45138B
#45138B
Square
Four colors evenly spaced 90° apart
#8B4513
#8B4513
#1D8B13
#1D8B13
#13598B
#13598B
#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.
Closest Pantone matches
Top 6 ΔE2000-closest Pantone references. Cross-system matching is approximate — see disclaimer.
Closest RAL Classic matches
Top 6 ΔE2000-closest RAL Classic references for industrial coating cross-reference.
RAL 8003
#734222
Clay brown
RAL 8004
#8E402A
Copper brown
RAL 8023
#A65E2E
Orange brown
RAL 8001
#955F20
Ochre brown
RAL 8024
#79553D
Beige brown
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 colors are sRGB digital values from a 1980s color system. For print, convert to a process-appropriate color and proof against substrate.