RAL Classic color

RAL 3011 Brown red #781F19

RAL 3011 Brown red is shown here as #781F19, a widely published sRGB approximation of the printed swatch. It is a dark soft brown in the brown family. In OKLCH it sits at lightness 0.384, chroma 0.124 and hue 28.3°. The nearest CSS named color is maroon (#800000), ΔE2000 4.9 away.

Relative luminance
0.0504
OKLCH L · C · h
0.384 · 0.124 · 28.3
Best text
White 10.45:1
Hue family
Brown

#781F19 color codes

HEX
#781F19
RGB
rgb(120, 31, 25)
HSL
hsl(4, 66%, 28%)
OKLCH
oklch(0.384 0.124 28.3)
OKLab
oklab(0.384 0.109 0.059)
CIELAB (D65)
L* 26.86, a* 38.08, b* 26.49
XYZ (D65)
X 8.41, Y 5.04, Z 1.45
CMYK (naive)
cmyk(0%, 74%, 79%, 53%)

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 #781F19 accessible?

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

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

    10.45:1

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

    2.00:1

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

    10.45:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #781F19 10.45:1

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

  • For text on black

    #B85A4F 4.61:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #781F19 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 #781F19

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

  1. 50#FFF2F0
    White
    1.09
    Black
    19.21
  2. 100#FFE4E0
    White
    1.20
    Black
    17.42
  3. 200#FFC8C0
    White
    1.47
    Black
    14.27
  4. 300#FFA194
    White
    1.94
    Black
    10.77
  5. 400#E38276
    White
    2.71
    Black
    7.72
  6. 500#C6665B
    White
    3.85
    Black
    5.45
  7. 600#AB4E44
    White
    5.37
    Black
    3.90
  8. 700#8F382F
    White
    7.56
    Black
    2.77
  9. 800This color#781F19
    White
    10.45
    Black
    2.00
  10. 900#510706
    White
    15.18
    Black
    1.38
  11. 950#330000
    White
    18.40
    Black
    1.14

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

Gamut

How vivid #781F19 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.157; #781F19 uses 79% of it. Display P3, which many recent phones and laptops show, reaches 0.177 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.124
sRGB edge
0.157
Display P3 edge
0.177
Rec. 2020 edge
0.180
Dominant wavelength
608 nm
Excitation purity
73%
Chromaticity
x 0.5643, y 0.3384
  • This color#781F19
  • Most vivid in sRGB#830004
  • Most vivid in Display P3oklch(0.384 0.177 28.3)

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

Use the wider color where screens show it
.accent {
  color: #781f19;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.4931 0 0.0097); }
}

Mixing

Mixing #781F19

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%#BC8F8C
  • OKLab50%#C08E86
  • OKLCH50%#C08E86

Black #000000

  • sRGB50%#3C100D
  • OKLab50%#2A0604
  • OKLCH50%#2A0604

Its complement #004D56

  • sRGB50%#3C3638
  • OKLab50%#523E3B
  • OKLCH50%#3F4900
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #781f19, white);
color: color-mix(in oklch, #781f19 50%, white);

In use

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

Dark page

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

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

Color vision

How #781F19 looks with color blindness

Deuteranopia changes it most, ΔE2000 29.4; tritanopia changes it least, 5.7.

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

    #393317 ΔE2000 26.7

    Distinct

    Reads as dark grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #4F4716 ΔE2000 29.4

    Distinct

    Reads as dark muted brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #85001E ΔE2000 5.7

    Noticeable

    Reads as dark soft red

  • Achromatopsia

    No cone color vision; lightness only

    #3F3F3F ΔE2000 24.1

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#781F19 · #004D5640.8Stays distinct
Protanopia#393317 · #454A5722.8Stays distinct
Deuteranopia#4F4716 · #3A425630.3Stays distinct
Tritanopia#85001E · #00515047.9Stays distinct
Achromatopsia#3F3F3F · #4545452.0Easily confused

Harmony

Color harmonies for #781F19

Its complement is #004D56, a dark muted teal, 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#781F19
  • Complement#004D56

Complementary

Open in Harmony Studio
  • −30°#731D43
  • Base#781F19
  • +30°#673500
  • Base#781F19
  • +120°#00521D
  • +240°#283C85
  • Base#781F19
  • +150°#004F44
  • +210°#00496C

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-3011: #781f19;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-3011': '#781f19',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-ral-3011: oklch(0.384 0.124 28.3);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-3011": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.4706, 0.1216, 0.098],
        "hex": "#781f19"
      },
      "$description": "RAL 3011 Brown red (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral3011 = Color(.sRGB, red: 0.471, green: 0.122, blue: 0.098, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral3011 = Color(0xFF781F19)
}

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

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