RAL Classic color

RAL 8004 Copper brown #8D4931

RAL 8004 Copper brown is shown here as #8D4931, a widely published sRGB approximation of the printed swatch. It is a muted brown in the brown family. In OKLCH it sits at lightness 0.484, chroma 0.099 and hue 39.9°. The nearest CSS named color is sienna (#A0522D), ΔE2000 5.8 away.

Relative luminance
0.1065
OKLCH L · C · h
0.484 · 0.099 · 39.9
Best text
White 6.70:1
Hue family
Brown

#8D4931 color codes

HEX
#8D4931
RGB
rgb(141, 73, 49)
HSL
hsl(16, 48%, 37%)
OKLCH
oklch(0.484 0.099 39.9)
OKLab
oklab(0.484 0.076 0.064)
CIELAB (D65)
L* 38.99, a* 26.56, b* 27.08
XYZ (D65)
X 13.92, Y 10.65, Z 4.23
CMYK (naive)
cmyk(0%, 48%, 65%, 45%)

CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.

RAL and RAL Classic are trademarks of RAL gGmbH, which this site is not affiliated with. The sRGB value is an approximation of the printed swatch; check a physical RAL color card before you specify a paint.

Legibility

Contrast: is #8D4931 accessible?

White text on it reaches 6.70:1, passing AA. Black text manages only 3.12:1, enough for large text only.

WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.

Open the Contrast System
  • Black text on it

    3.12:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc +21
  • White text on it

    6.70:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc −87
  • As text on black

    3.12:1

    • AA fails
    • AA large passes
    • AAA fails
    • APCA Lc −19
  • As text on white

    6.70:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +82

Nearest versions that pass 4.5:1

  • For text on white

    #8D4931 6.70:1

    It already reaches 6.70:1 on white, so no change is needed.

  • For text on black

    #A86249 4.50:1

    Lightening its OKLCH lightness from 0.48 to 0.57 reaches 4.50:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #8D4931 live

Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.

The studio needs JavaScript.

Scale

Shades and tints of #8D4931

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #8D4931 sits at step 700.

  1. 50#FFF2ED
    White
    1.09
    Black
    19.17
  2. 100#FFE5DC
    White
    1.20
    Black
    17.49
  3. 200#FFCAB7
    White
    1.45
    Black
    14.38
  4. 300#F2AA90
    White
    1.92
    Black
    10.92
  5. 400#D68C73
    White
    2.67
    Black
    7.85
  6. 500#B97158
    White
    3.77
    Black
    5.56
  7. 600#9F5941
    White
    5.27
    Black
    3.97
  8. 700This color#8D4931
    White
    6.70
    Black
    3.12
  9. 800#672C16
    White
    10.77
    Black
    1.94
  10. 900#491602
    White
    15.01
    Black
    1.39
  11. 950#2D0800
    White
    18.31
    Black
    1.14

Under each step, white and black text on it; a bold figure passes 4.5:1.

Gamut

How vivid #8D4931 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.152; #8D4931 uses 65% of it. Display P3, which many recent phones and laptops show, reaches 0.172 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.099
sRGB edge
0.152
Display P3 edge
0.172
Rec. 2020 edge
0.173
Dominant wavelength
595 nm
Excitation purity
59%
Chromaticity
x 0.4834, y 0.3698
  • This color#8D4931
  • Most vivid in sRGB#A23500
  • Most vivid in Display P3oklch(0.484 0.172 39.9)

On a screen without Display P3 the last tile shows the sRGB edge instead.

Use the wider color where screens show it
.accent {
  color: #8d4931;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.6101 0.2097 0); }
}

Mixing

Mixing #8D4931

Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.

White #FFFFFF

  • sRGB50%#C6A498
  • OKLab50%#C8A294
  • OKLCH50%#C8A294

Black #000000

  • sRGB50%#472519
  • OKLab50%#33170C
  • OKLCH50%#33170C

Its complement #006A81

  • sRGB50%#475A59
  • OKLab50%#625E5C
  • OKLCH50%#4D692C
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #8d4931, white);
color: color-mix(in oklch, #8d4931 50%, white);

In use

#8D4931 in an interface

A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.

Light page

  • Button labelText, 4.5:16.70:1 Passes
  • Link and body-size textText, 4.5:16.70:1 Passes
  • Large headingLarge text, 3:16.70:1 Passes
  • Icons, borders and focus ringsNon-text, 3:16.70:1 Passes

Dark page

  • Button labelText, 4.5:16.70:1 Passes
  • Link and body-size textText, 4.5:12.79:1 Fails
  • Large headingLarge text, 3:12.79:1 Fails
  • Icons, borders and focus ringsNon-text, 3:12.79:1 Fails

For text on this page, the nearest shade that passes is #B26A51 4.52:1

Color vision

How #8D4931 looks with color blindness

Deuteranopia changes it most, ΔE2000 23.4; tritanopia changes it least, 11.4.

Simulated with Machado et al. (2009) at full severity, in linear light.

Simulate a whole page What each type sees
  • Protanopia

    No working red (long-wavelength) cones

    #5B532F ΔE2000 22.0

    Distinct

    Reads as dark muted brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #6B6230 ΔE2000 23.4

    Distinct

    Reads as muted brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #9A3C43 ΔE2000 11.4

    Distinct

    Reads as soft brown

  • Achromatopsia

    No cone color vision; lightness only

    #5C5C5C ΔE2000 22.2

    Distinct

    Reads as dark gray

Pairing check

Checked against its complement, #006A81. Their lightness contrast is only 1.07:1, so where hue collapses, add a label, icon or pattern.

VisionThe pairΔE2000Verdict
Normal vision#8D4931 · #006A8144.7Stays distinct
Protanopia#5B532F · #5C678230.0Stays distinct
Deuteranopia#6B6230 · #4D5C8136.2Stays distinct
Tritanopia#9A3C43 · #00717148.2Stays distinct
Achromatopsia#5C5C5C · #6161611.8Easily confused

Harmony

Color harmonies for #8D4931

Its complement is #006A81, a muted blue, on the cool side of the wheel.

Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.

Open the Harmony Studio
  • Base#8D4931
  • Complement#006A81

Complementary

Open in Harmony Studio
  • −30°#8D4552
  • Base#8D4931
  • +30°#82530E
  • Base#8D4931
  • +120°#1A6F4B
  • +240°#545795
  • Base#8D4931
  • +150°#006D69
  • +210°#2D6294

Split-complementary

Open in Harmony Studio

Code

Design tokens

Ready-to-paste tokens in six formats. Rename them to fit your system.

CSS custom property

:root {
  --color-ral-8004: #8d4931;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-8004': '#8d4931',
      },
    },
  },
};

Tailwind v4 theme

/* app.css — Tailwind CSS v4 */
@import "tailwindcss";

@theme {
  --color-ral-8004: oklch(0.484 0.099 39.9);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-8004": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.5529, 0.2863, 0.1922],
        "hex": "#8d4931"
      },
      "$description": "RAL 8004 Copper brown (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral8004 = Color(.sRGB, red: 0.553, green: 0.286, blue: 0.192, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral8004 = Color(0xFF8D4931)
}

Matches

The nearest match in each system

The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.

Tools

Open #8D4931 in the tools

Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.