RAL Classic color

RAL 8014 Sepia brown #382C1E

RAL 8014 Sepia brown is shown here as #382C1E, a widely published sRGB approximation of the printed swatch. It is a dark grayish brown in the neutral family. In OKLCH it sits at lightness 0.303, chroma 0.029 and hue 70.7°. The nearest CSS named color is black (#000000), ΔE2000 15.2 away.

Relative luminance
0.0274
OKLCH L · C · h
0.303 · 0.029 · 70.7
Best text
White 13.57:1
Hue family
Neutral

#382C1E color codes

HEX
#382C1E
RGB
rgb(56, 44, 30)
HSL
hsl(32, 30%, 17%)
OKLCH
oklch(0.303 0.029 70.7)
OKLab
oklab(0.303 0.010 0.028)
CIELAB (D65)
L* 18.95, a* 3.13, b* 11.17
XYZ (D65)
X 2.77, Y 2.74, Z 1.61
CMYK (naive)
cmyk(0%, 21%, 46%, 78%)

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 #382C1E accessible?

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

    1.54:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0
  • White text on it

    13.57:1

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

    1.54:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc 0
  • As text on white

    13.57:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #382C1E 13.57:1

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

  • For text on black

    #817363 4.56:1

    Lightening its OKLCH lightness from 0.30 to 0.56 reaches 4.56:1 on black, keeping the hue.

Checking another pair? Use the Contrast Checker.

Studio

Adjust #382C1E 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 #382C1E

Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #382C1E sits at step 900.

  1. 50#FFF3E6
    White
    1.09
    Black
    19.21
  2. 100#F6E9DA
    White
    1.19
    Black
    17.58
  3. 200#E3D5C6
    White
    1.43
    Black
    14.59
  4. 300#C9BBAB
    White
    1.87
    Black
    11.17
  5. 400#AD9F8E
    White
    2.58
    Black
    8.12
  6. 500#928473
    White
    3.63
    Black
    5.77
  7. 600#7A6C5C
    White
    5.08
    Black
    4.12
  8. 700#635647
    White
    7.11
    Black
    2.95
  9. 800#493D30
    White
    10.53
    Black
    1.99
  10. 900This color#382C1E
    White
    13.57
    Black
    1.54
  11. 950#1D140B
    White
    18.14
    Black
    1.15

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

Gamut

How vivid #382C1E can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.066; #382C1E uses 45% of it. Display P3, which many recent phones and laptops show, reaches 0.075 there: 15% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.029
sRGB edge
0.066
Display P3 edge
0.075
Rec. 2020 edge
0.077
Dominant wavelength
581 nm
Excitation purity
37%
Chromaticity
x 0.3889, y 0.3847
  • This color#382C1E
  • Most vivid in sRGB#432800
  • Most vivid in Display P3oklch(0.303 0.075 70.7)

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

Use the wider color where screens show it
.accent {
  color: #382c1e;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.2556 0.1553 0); }
}

Mixing

Mixing #382C1E

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%#9C968F
  • OKLab50%#958E86
  • OKLCH50%#958E86

Black #000000

  • sRGB50%#1C160F
  • OKLab50%#0F0A05
  • OKLCH50%#0F0A05

Its complement #23303D

  • sRGB50%#2E2E2E
  • OKLab50%#2E2F2E
  • OKLCH50%#213329
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #382c1e, white);
color: color-mix(in oklch, #382c1e 50%, white);

In use

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

Dark page

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

For text on this page, the nearest shade that passes is #8A7B6B 4.57:1

Color vision

How #382C1E looks with color blindness

Achromatopsia changes it most, ΔE2000 9.5; protanopia changes it least, 5.6.

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

    #302C1D ΔE2000 5.6

    Noticeable

    Reads as very dark grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #332F1E ΔE2000 6.0

    Noticeable

    Reads as dark grayish brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #3C2928 ΔE2000 9.5

    Noticeable

    Reads as dark grayish brown

  • Achromatopsia

    No cone color vision; lightness only

    #2E2E2E ΔE2000 9.5

    Noticeable

    Reads as dark gray

Pairing check

A near-neutral has no complementary hue to pair with, so tell it apart from neighboring grays by lightness contrast alone.

Harmony

Color harmonies for #382C1E

Its complement is #23303D, a dark grayish blue.

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

Open the Harmony Studio
  • Base#382C1E
  • Complement#23303D

Complementary

Open in Harmony Studio
  • −30°#3C2A23
  • Base#382C1E
  • +30°#322F1E
  • Base#382C1E
  • +120°#1C3332
  • +240°#332A3A
  • Base#382C1E
  • +150°#1D3239
  • +210°#2B2D3D

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-8014: #382c1e;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-8014': '#382c1e',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-ral-8014: oklch(0.303 0.029 70.7);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-8014": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.2196, 0.1725, 0.1176],
        "hex": "#382c1e"
      },
      "$description": "RAL 8014 Sepia brown (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral8014 = Color(.sRGB, red: 0.220, green: 0.173, blue: 0.118, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral8014 = Color(0xFF382C1E)
}

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

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