Skip to content
PantoneTools
brown
X11 named colors

Tan4

tan4 · #8B5A2B

HEX

#8B5A2B

RGB

rgb(139, 90, 43)

CMYK

cmyk(0%, 35%, 69%, 45%)

HSL

hsl(29, 53%, 36%)

LAB

lab(42.7, 15.5, 34.7)

What is Tan4?

Tan4 is the tan4 reference in the X11 named colors. Its sRGB value is #8B5A2B (rgb 139, 90, 43). 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 Tan4 as a background.

Black text on this color

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

White text on this color

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

Shades, tints & tonal scale of Tan4

An 11-step tonal scale derived from Tan4 (#8B5A2B). 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 #F6F2EE

50

#F6F2EE

#F6F2EE

Copied #ECE5DD

100

#ECE5DD

#ECE5DD

Copied #DACABB

200

#DACABB

#DACABB

Copied #C5AD95

300

#C5AD95

#C5AD95

Copied #A88360

400

#A88360

#A88360

Copied #8B5A2B

500

#8B5A2B

#8B5A2B

Copied #764D25

600

#764D25

#764D25

Copied #5A3B1C

700

#5A3B1C

#5A3B1C

Copied #3F2913

800

#3F2913

#3F2913

Copied #23170B

900

#23170B

#23170B

Copied #110B05

950

#110B05

#110B05

Lighter tints (mixed with white)

Copied #A48673

15%

#A48673

Copied #B8A499

30%

#B8A499

Copied #CABDB5

45%

#CABDB5

Copied #DAD1CD

60%

#DAD1CD

Copied #E9E4E1

75%

#E9E4E1

Darker shades (mixed with black)

Copied #815327

15%

#815327

Copied #764C23

30%

#764C23

Copied #69431E

45%

#69431E

Copied #5A3919

60%

#5A3919

Copied #482C12

75%

#482C12

Color harmonies for Tan4

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

Complementary

180° opposite — strongest contrast

Copied #8B5A2B

#8B5A2B

#8B5A2B

Copied #2B5D8C

#2B5D8C

#2B5D8C

Triadic

Three colors 120° apart

Copied #8B5A2B

#8B5A2B

#8B5A2B

Copied #2B8C5A

#2B8C5A

#2B8C5A

Copied #5A2B8C

#5A2B8C

#5A2B8C

Analogous

Two neighbors ±30° on the wheel

Copied #8C2B2D

#8C2B2D

#8C2B2D

Copied #8B5A2B

#8B5A2B

#8B5A2B

Copied #8C8B2B

#8C8B2B

#8C8B2B

Split-complementary

Base + two colors flanking its complement

Copied #8B5A2B

#8B5A2B

#8B5A2B

Copied #2B8C8B

#2B8C8B

#2B8C8B

Copied #2B2D8C

#2B2D8C

#2B2D8C

Tetradic

Two complementary pairs

Copied #8B5A2B

#8B5A2B

#8B5A2B

Copied #5D8C2B

#5D8C2B

#5D8C2B

Copied #2B5D8C

#2B5D8C

#2B5D8C

Copied #5A2B8C

#5A2B8C

#5A2B8C

Square

Four colors evenly spaced 90° apart

Copied #8B5A2B

#8B5A2B

#8B5A2B

Copied #2D8C2B

#2D8C2B

#2D8C2B

Copied #2B5D8C

#2B5D8C

#2B5D8C

Copied #8B2B8C

#8B2B8C

#8B2B8C

Tan4 in every color space

Full conversion of Tan4 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

#8B5A2B

RGB

rgb(139, 90, 43)

CMYK

cmyk(0%, 35%, 69%, 45%)

HSL

hsl(29, 53%, 36%)

HSV

hsv(29, 69%, 55%)

HWB

hwb(29 17% 45%)

CIE Lab

lab(42.7 15.5 34.7)

OKLCH

oklch(51.2% 0.090 62.2)

XYZ (D65)

xyz(14.74, 12.98, 4.01)

Copy-ready code for Tan4

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: #8B5A2B;
background-color: #8B5A2B;

CSS variable

:root {
  --color-tan4: #8B5A2B;
}

Tailwind config

// tailwind.config.js
colors: {
  'tan4': '#8B5A2B',
}

Sass

$color-tan4: #8B5A2B;

Swift UIColor

UIColor(red: 0.545, green: 0.353, blue: 0.169, alpha: 1.0)

Android XML

<color name="tan4">#8B5A2B</color>

Closest match in every color system

The nearest Tan4 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 #955F20

RAL 8001

#955F20

Ochre brown

Copied #8A6642

RAL 1011

#8A6642

Brown beige

Copied #A65E2E

RAL 8023

#A65E2E

Orange brown

Copied #6F4F28

RAL 8008

#6F4F28

Olive brown

Copied #79553D

RAL 8024

#79553D

Beige brown

Copied #705335

RAL 1036

#705335

Pearl gold

FAQ about Tan4

What is the HEX code for Tan4?

Tan4 (tan4) has the HEX code #8B5A2B. In RGB it is rgb(139, 90, 43), and in CMYK it is cmyk(0%, 35%, 69%, 45%).

What is the OKLCH value of Tan4?

Tan4 converts to oklch(0.512 0.090 62.2). OKLCH is the perceptually uniform color space used by Tailwind v4 and CSS Color Module Level 4.

Is Tan4 accessible for body text?

Used as a background, Tan4 has a contrast ratio of 3.60:1 with black text and 5.84: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 Tan4?

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

What is the closest RAL color to Tan4?

The closest RAL Classic reference to Tan4 by ΔE2000 distance is RAL 8001 (Ochre brown, #955F20). RAL is a German industrial coating standard commonly used for paint, powder coat, and architectural specification.

What is the complementary color of Tan4?

The complementary color (180° opposite on the HSL color wheel) of Tan4 is #2B5D8C. 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 · Tan4 — #8B5A2B | PantoneTools