RAL Classic color

RAL 3031 Orient red #B32428

RAL 3031 Orient red is shown here as #B32428, a widely published sRGB approximation of the printed swatch. It is a vivid red in the red family. In OKLCH it sits at lightness 0.501, chroma 0.179 and hue 25.4°. The nearest CSS named color is firebrick (#B22222), ΔE2000 1.5 away.

Relative luminance
0.1100
OKLCH L · C · h
0.501 · 0.179 · 25.4
Best text
White 6.56:1
Hue family
Red

#B32428 color codes

HEX
#B32428
RGB
rgb(179, 36, 40)
HSL
hsl(358, 67%, 42%)
OKLCH
oklch(0.501 0.179 25.4)
OKLab
oklab(0.501 0.161 0.077)
CIELAB (D65)
L* 39.58, a* 55.85, b* 34.77
XYZ (D65)
X 19.61, Y 11.00, Z 3.10
CMYK (naive)
cmyk(0%, 80%, 78%, 30%)

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

White text on it reaches 6.56:1, passing AA. Black text manages only 3.19:1, enough for large text only.

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

    3.19:1

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

    6.56:1

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

    3.19:1

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

    6.56:1

    • AA passes
    • AA large passes
    • AAA fails
    • APCA Lc +80

Nearest versions that pass 4.5:1

  • For text on white

    #B32428 6.56:1

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

  • For text on black

    #CF423F 4.50:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF2F0
    White
    1.09
    Black
    19.21
  2. 100#FFE4E1
    White
    1.20
    Black
    17.43
  3. 200#FFC8C2
    White
    1.46
    Black
    14.29
  4. 300#FFA098
    White
    1.95
    Black
    10.73
  5. 400#FC6E67
    White
    2.77
    Black
    7.56
  6. 500#DD4F4B
    White
    3.96
    Black
    5.29
  7. 600This color#B32428
    White
    6.56
    Black
    3.19
  8. 700#A3161E
    White
    7.80
    Black
    2.69
  9. 800#7C000E
    White
    11.26
    Black
    1.86
  10. 900#540006
    White
    15.22
    Black
    1.37
  11. 950#320002
    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 #B32428 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.203; #B32428 uses 88% of it. Display P3, which many recent phones and laptops show, reaches 0.229 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.179
sRGB edge
0.203
Display P3 edge
0.229
Rec. 2020 edge
0.256
Dominant wavelength
613 nm
Excitation purity
74%
Chromaticity
x 0.5817, y 0.3264
  • This color#B32428
  • Most vivid in sRGB#BC001B
  • Most vivid in Display P3oklch(0.501 0.229 25.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: #b32428;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.7063 0 0.096); }
}

Mixing

Mixing #B32428

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%#D99294
  • OKLab50%#E19891
  • OKLCH50%#E19891

Black #000000

  • sRGB50%#5A1214
  • OKLab50%#430709
  • OKLCH50%#430709

Its complement #00717B

  • sRGB50%#5A4B52
  • OKLab50%#7C5956
  • OKLCH50%#6B50A5
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #b32428, white);
color: color-mix(in oklch, #b32428 50%, white);

In use

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

Dark page

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

For text on this page, the nearest shade that passes is #DA4C48 4.55:1

Color vision

How #B32428 looks with color blindness

Deuteranopia changes it most, ΔE2000 37.7; tritanopia changes it least, 3.4.

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

    #514A26 ΔE2000 33.8

    Distinct

    Reads as dark muted brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #746822 ΔE2000 37.7

    Distinct

    Reads as muted brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #C50028 ΔE2000 3.4

    Close match

    Reads as vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #5D5D5D ΔE2000 26.8

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#B32428 · #00717B49.2Stays distinct
Protanopia#514A26 · #666C7C27.5Stays distinct
Deuteranopia#746822 · #58617B35.6Stays distinct
Tritanopia#C50028 · #00777456.2Stays distinct
Achromatopsia#5D5D5D · #6666663.3Easily confused

Harmony

Color harmonies for #B32428

Its complement is #00717B, a 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#B32428
  • Complement#00717B

Complementary

Open in Harmony Studio
  • −30°#AB2468
  • Base#B32428
  • +30°#974C00
  • Base#B32428
  • +120°#007920
  • +240°#3159C7
  • Base#B32428
  • +150°#007561
  • +210°#006C97

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-3031: #b32428;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-ral-3031: oklch(0.501 0.179 25.4);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-3031": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.702, 0.1412, 0.1569],
        "hex": "#b32428"
      },
      "$description": "RAL 3031 Orient red (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral3031 = Color(.sRGB, red: 0.702, green: 0.141, blue: 0.157, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral3031 = Color(0xFFB32428)
}

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

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