RAL Classic color

RAL 8003 Clay brown #7A4A12

RAL 8003 Clay brown is shown here as #7A4A12, a widely published sRGB approximation of the printed swatch. It is a dark muted brown in the brown family. In OKLCH it sits at lightness 0.455, chroma 0.093 and hue 64.4°. The nearest CSS named color is saddlebrown (#8B4513), ΔE2000 6.6 away.

Relative luminance
0.0908
OKLCH L · C · h
0.455 · 0.093 · 64.4
Best text
White 7.45:1
Hue family
Brown

#7A4A12 color codes

HEX
#7A4A12
RGB
rgb(122, 74, 18)
HSL
hsl(32, 74%, 27%)
OKLCH
oklch(0.455 0.093 64.4)
OKLab
oklab(0.455 0.040 0.084)
CIELAB (D65)
L* 36.14, a* 15.83, b* 39.25
XYZ (D65)
X 10.58, Y 9.08, Z 1.77
CMYK (naive)
cmyk(0%, 39%, 85%, 52%)

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 #7A4A12 accessible?

White text on it reaches 7.45:1, passing AAA. Black text fails at 2.81:1.

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

    2.81:1

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

    7.45:1

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

    2.81:1

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

    7.45:1

    • AA passes
    • AA large passes
    • AAA passes
    • APCA Lc +85

Nearest versions that pass 4.5:1

  • For text on white

    #7A4A12 7.45:1

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

  • For text on black

    #9C6A36 4.52:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #7A4A12 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 #7A4A12

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

  1. 50#FFF3E8
    White
    1.09
    Black
    19.23
  2. 100#FFE6D0
    White
    1.20
    Black
    17.48
  3. 200#FECD9F
    White
    1.45
    Black
    14.44
  4. 300#E6B281
    White
    1.90
    Black
    11.04
  5. 400#CA9563
    White
    2.62
    Black
    7.99
  6. 500#AD7A47
    White
    3.71
    Black
    5.65
  7. 600#94622F
    White
    5.18
    Black
    4.04
  8. 700This color#7A4A12
    White
    7.45
    Black
    2.81
  9. 800#5D3400
    White
    10.73
    Black
    1.95
  10. 900#3E2100
    White
    14.76
    Black
    1.42
  11. 950#241100
    White
    18.17
    Black
    1.15

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

Gamut

How vivid #7A4A12 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.103; #7A4A12 uses 91% of it. Display P3, which many recent phones and laptops show, reaches 0.118 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.093
sRGB edge
0.103
Display P3 edge
0.118
Rec. 2020 edge
0.119
Dominant wavelength
585 nm
Excitation purity
77%
Chromaticity
x 0.4939, y 0.4237
  • This color#7A4A12
  • Most vivid in sRGB#7D4800
  • Most vivid in Display P3oklch(0.455 0.118 64.4)

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

Use the wider color where screens show it
.accent {
  color: #7a4a12;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.4785 0.2829 0); }
}

Mixing

Mixing #7A4A12

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%#BDA589
  • OKLab50%#BCA189
  • OKLCH50%#BCA189

Black #000000

  • sRGB50%#3D2509
  • OKLab50%#2B1702
  • OKLCH50%#2B1702

Its complement #205B87

  • sRGB50%#4D534D
  • OKLab50%#575757
  • OKLCH50%#76416C
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #7a4a12, white);
color: color-mix(in oklch, #7a4a12 50%, white);

In use

#7A4A12 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:17.45:1 Passes
  • Link and body-size textText, 4.5:17.45:1 Passes
  • Large headingLarge text, 3:17.45:1 Passes
  • Icons, borders and focus ringsNon-text, 3:17.45:1 Passes

Dark page

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

For text on this page, the nearest shade that passes is #A5723F 4.53:1

Color vision

How #7A4A12 looks with color blindness

Achromatopsia changes it most, ΔE2000 22.1; deuteranopia changes it least, 14.2.

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

    #594E08 ΔE2000 14.2

    Distinct

    Reads as dark muted brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #655913 ΔE2000 14.2

    Distinct

    Reads as dark muted brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #863F3F ΔE2000 20.2

    Distinct

    Reads as dark muted brown

  • Achromatopsia

    No cone color vision; lightness only

    #555555 ΔE2000 22.1

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#7A4A12 · #205B8739.9Stays distinct
Protanopia#594E08 · #475C8941.9Stays distinct
Deuteranopia#655913 · #38538643.8Stays distinct
Tritanopia#863F3F · #00666B42.7Stays distinct
Achromatopsia#555555 · #5757570.7Easily confused

Harmony

Color harmonies for #7A4A12

Its complement is #205B87, a dark 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#7A4A12
  • Complement#205B87

Complementary

Open in Harmony Studio
  • −30°#824132
  • Base#7A4A12
  • +30°#685500
  • Base#7A4A12
  • +120°#00655C
  • +240°#624881
  • Base#7A4A12
  • +150°#006272
  • +210°#47518A

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-8003: #7a4a12;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-8003': '#7a4a12',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-ral-8003: oklch(0.455 0.093 64.4);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-8003": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.4784, 0.2902, 0.0706],
        "hex": "#7a4a12"
      },
      "$description": "RAL 8003 Clay brown (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral8003 = Color(.sRGB, red: 0.478, green: 0.290, blue: 0.071, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral8003 = Color(0xFF7A4A12)
}

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 #7A4A12 in the tools

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