RAL Classic color

RAL 8011 Nut brown #5A3A29

RAL 8011 Nut brown is shown here as #5A3A29, 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.382, chroma 0.053 and hue 48.6°. The nearest CSS named color is saddlebrown (#8B4513), ΔE2000 13.7 away.

Relative luminance
0.0536
OKLCH L · C · h
0.382 · 0.053 · 48.6
Best text
White 10.13:1
Hue family
Brown

#5A3A29 color codes

HEX
#5A3A29
RGB
rgb(90, 58, 41)
HSL
hsl(21, 37%, 26%)
OKLCH
oklch(0.382 0.053 48.6)
OKLab
oklab(0.382 0.035 0.040)
CIELAB (D65)
L* 27.74, a* 11.99, b* 16.31
XYZ (D65)
X 6.13, Y 5.36, Z 2.81
CMYK (naive)
cmyk(0%, 36%, 54%, 65%)

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 #5A3A29 accessible?

White text on it reaches 10.13:1, passing AAA. Black text fails at 2.07: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.07:1

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

    10.13:1

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

    2.07:1

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

    10.13:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #5A3A29 10.13:1

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

  • For text on black

    #916D5B 4.54:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #5A3A29 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 #5A3A29

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #5A3A29 sits at step 800.

  1. 50#FFF2EC
    White
    1.09
    Black
    19.16
  2. 100#FFE5D8
    White
    1.20
    Black
    17.45
  3. 200#F2CFBD
    White
    1.45
    Black
    14.43
  4. 300#DAB5A2
    White
    1.88
    Black
    11.11
  5. 400#BD9885
    White
    2.62
    Black
    7.99
  6. 500#A17D6A
    White
    3.71
    Black
    5.65
  7. 600#896654
    White
    5.13
    Black
    4.09
  8. 700#704F3E
    White
    7.29
    Black
    2.87
  9. 800This color#5A3A29
    White
    10.13
    Black
    2.07
  10. 900#3B2214
    White
    14.73
    Black
    1.42
  11. 950#241005
    White
    18.23
    Black
    1.15

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

Gamut

How vivid #5A3A29 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.103; #5A3A29 uses 52% of it. Display P3, which many recent phones and laptops show, reaches 0.117 there: 14% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.053
sRGB edge
0.103
Display P3 edge
0.117
Rec. 2020 edge
0.118
Dominant wavelength
589 nm
Excitation purity
45%
Chromaticity
x 0.4287, y 0.3749
  • This color#5A3A29
  • Most vivid in sRGB#6D2E00
  • Most vivid in Display P3oklch(0.382 0.117 48.6)

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

Use the wider color where screens show it
.accent {
  color: #5a3a29;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.4114 0.1783 0); }
}

Mixing

Mixing #5A3A29

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%#AD9D94
  • OKLab50%#AA978E
  • OKLCH50%#AA978E

Black #000000

  • sRGB50%#2D1D15
  • OKLab50%#1E1009
  • OKLCH50%#1E1009

Its complement #214859

  • sRGB50%#3E4141
  • OKLab50%#434343
  • OKLCH50%#4F3A55
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #5a3a29, white);
color: color-mix(in oklch, #5a3a29 50%, white);

In use

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

Dark page

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

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

Color vision

How #5A3A29 looks with color blindness

Achromatopsia changes it most, ΔE2000 15.6; tritanopia changes it least, 10.3.

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

    #433D28 ΔE2000 14.5

    Distinct

    Reads as dark grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #4A4429 ΔE2000 15.5

    Distinct

    Reads as dark grayish brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #623436 ΔE2000 10.3

    Distinct

    Reads as dark muted brown

  • Achromatopsia

    No cone color vision; lightness only

    #414141 ΔE2000 15.6

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#5A3A29 · #21485931.2Stays distinct
Protanopia#433D28 · #3F475A21.8Stays distinct
Deuteranopia#4A4429 · #37415926.2Stays distinct
Tritanopia#623436 · #004D4E39.8Stays distinct
Achromatopsia#414141 · #4343430.7Easily confused

Harmony

Color harmonies for #5A3A29

Its complement is #214859, 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#5A3A29
  • Complement#214859

Complementary

Open in Harmony Studio
  • −30°#5C3738
  • Base#5A3A29
  • +30°#523F20
  • Base#5A3A29
  • +120°#224C3E
  • +240°#423E5E
  • Base#5A3A29
  • +150°#194B4D
  • +210°#31435F

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-8011: #5a3a29;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-8011': '#5a3a29',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-ral-8011: oklch(0.382 0.053 48.6);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-8011": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.3529, 0.2275, 0.1608],
        "hex": "#5a3a29"
      },
      "$description": "RAL 8011 Nut brown (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral8011 = Color(.sRGB, red: 0.353, green: 0.227, blue: 0.161, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral8011 = Color(0xFF5A3A29)
}

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

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