RAL Classic color

RAL 3003 Ruby red #9B111E

RAL 3003 Ruby red is shown here as #9B111E, a widely published sRGB approximation of the printed swatch. It is a dark soft red in the red family. In OKLCH it sits at lightness 0.442, chroma 0.169 and hue 24.3°. The nearest CSS named color is brown (#A52A2A), ΔE2000 4.0 away.

Relative luminance
0.0746
OKLCH L · C · h
0.442 · 0.169 · 24.3
Best text
White 8.42:1
Hue family
Red

#9B111E color codes

HEX
#9B111E
RGB
rgb(155, 17, 30)
HSL
hsl(354, 80%, 34%)
OKLCH
oklch(0.442 0.169 24.3)
OKLab
oklab(0.442 0.154 0.069)
CIELAB (D65)
L* 32.84, a* 53.23, b* 32.03
XYZ (D65)
X 13.95, Y 7.47, Z 1.93
CMYK (naive)
cmyk(0%, 89%, 81%, 39%)

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 #9B111E accessible?

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

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

    8.42:1

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

    2.49:1

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

    8.42:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #9B111E 8.42:1

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

  • For text on black

    #CC4746 4.55:1

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

Checking another pair? Use the Contrast Checker.

Studio

Adjust #9B111E 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 #9B111E

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

  1. 50#FFF2F0
    White
    1.09
    Black
    19.21
  2. 100#FFE4E1
    White
    1.20
    Black
    17.43
  3. 200#FFC8C3
    White
    1.46
    Black
    14.30
  4. 300#FFA099
    White
    1.95
    Black
    10.74
  5. 400#F8726D
    White
    2.75
    Black
    7.61
  6. 500#D95351
    White
    3.95
    Black
    5.30
  7. 600#BD393A
    White
    5.51
    Black
    3.81
  8. 700This color#9B111E
    White
    8.42
    Black
    2.49
  9. 800#7C0011
    White
    11.25
    Black
    1.86
  10. 900#540008
    White
    15.21
    Black
    1.38
  11. 950#320003
    White
    18.47
    Black
    1.13

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

Gamut

How vivid #9B111E can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.179; #9B111E uses 94% of it. Display P3, which many recent phones and laptops show, reaches 0.202 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.169
sRGB edge
0.179
Display P3 edge
0.202
Rec. 2020 edge
0.234
Dominant wavelength
616 nm
Excitation purity
77%
Chromaticity
x 0.5975, y 0.3197
  • This color#9B111E
  • Most vivid in sRGB#9F0019
  • Most vivid in Display P3oklch(0.442 0.202 24.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: #9b111e;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.5952 0 0.0903); }
}

Mixing

Mixing #9B111E

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%#CD888F
  • OKLab50%#D5908B
  • OKLCH50%#D5908B

Black #000000

  • sRGB50%#4E090F
  • OKLab50%#390205
  • OKLCH50%#390205

Its complement #005F66

  • sRGB50%#4E3842
  • OKLab50%#6B4946
  • OKLCH50%#535900
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #9b111e, white);
color: color-mix(in oklch, #9b111e 50%, white);

In use

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

Dark page

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

For text on this page, the nearest shade that passes is #D6514F 4.59:1

Color vision

How #9B111E looks with color blindness

Deuteranopia changes it most, ΔE2000 36.2; tritanopia changes it least, 3.5.

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

    #413B1D ΔE2000 32.2

    Distinct

    Reads as dark grayish brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #625718 ΔE2000 36.2

    Distinct

    Reads as dark muted brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #AB0018 ΔE2000 3.5

    Close match

    Reads as dark vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #4D4D4D ΔE2000 26.3

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#9B111E · #005F6647.4Stays distinct
Protanopia#413B1D · #565A6724.3Stays distinct
Deuteranopia#625718 · #4A516632.8Stays distinct
Tritanopia#AB0018 · #00646152.2Stays distinct
Achromatopsia#4D4D4D · #5555552.8Easily confused

Harmony

Color harmonies for #9B111E

Its complement is #005F66, 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#9B111E
  • Complement#005F66

Complementary

Open in Harmony Studio
  • −30°#931359
  • Base#9B111E
  • +30°#803F00
  • Base#9B111E
  • +120°#006613
  • +240°#2149AE
  • Base#9B111E
  • +150°#006250
  • +210°#005A7E

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-3003: #9b111e;
}

Tailwind config

// tailwind.config.js
module.exports = {
  theme: {
    extend: {
      colors: {
        'ral-3003': '#9b111e',
      },
    },
  },
};

Tailwind v4 theme

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

@theme {
  --color-ral-3003: oklch(0.442 0.169 24.3);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-3003": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6078, 0.0667, 0.1176],
        "hex": "#9b111e"
      },
      "$description": "RAL 3003 Ruby red (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral3003 = Color(.sRGB, red: 0.608, green: 0.067, blue: 0.118, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral3003 = Color(0xFF9B111E)
}

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

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