RAL Classic color

RAL 3005 Wine red #5E2129

RAL 3005 Wine red is shown here as #5E2129, 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.342, chroma 0.089 and hue 15.3°. The nearest CSS named color is maroon (#800000), ΔE2000 14.2 away.

Relative luminance
0.0363
OKLCH L · C · h
0.342 · 0.089 · 15.3
Best text
White 12.17:1
Hue family
Brown

#5E2129 color codes

HEX
#5E2129
RGB
rgb(94, 33, 41)
HSL
hsl(352, 48%, 25%)
OKLCH
oklch(0.342 0.089 15.3)
OKLab
oklab(0.342 0.086 0.023)
CIELAB (D65)
L* 22.40, a* 28.58, b* 9.33
XYZ (D65)
X 5.56, Y 3.63, Z 2.50
CMYK (naive)
cmyk(0%, 65%, 56%, 63%)

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

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

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

    12.17:1

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

    1.72:1

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

    12.17:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #5E2129 12.17:1

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

  • For text on black

    #A66167 4.52:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF1F2
    White
    1.09
    Black
    19.11
  2. 100#FFE3E4
    White
    1.20
    Black
    17.35
  3. 200#FFC7CA
    White
    1.47
    Black
    14.27
  4. 300#EFA8AC
    White
    1.93
    Black
    10.86
  5. 400#D28B90
    White
    2.67
    Black
    7.83
  6. 500#B56F75
    White
    3.82
    Black
    5.49
  7. 600#9B585E
    White
    5.31
    Black
    3.95
  8. 700#814248
    White
    7.48
    Black
    2.80
  9. 800This color#5E2129
    White
    12.17
    Black
    1.72
  10. 900#47161C
    White
    15.00
    Black
    1.39
  11. 950#2E050C
    White
    18.36
    Black
    1.14

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

Gamut

How vivid #5E2129 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.137; #5E2129 uses 65% of it. Display P3, which many recent phones and laptops show, reaches 0.155 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.089
sRGB edge
0.137
Display P3 edge
0.155
Rec. 2020 edge
0.181
Dominant wavelength
639 nm
Excitation purity
40%
Chromaticity
x 0.4755, y 0.3103
  • This color#5E2129
  • Most vivid in sRGB#6E0020
  • Most vivid in Display P3oklch(0.342 0.155 15.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: #5e2129;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.4125 0 0.1193); }
}

Mixing

Mixing #5E2129

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%#AF9094
  • OKLab50%#AF8B8D
  • OKLCH50%#AF8B8D

Black #000000

  • sRGB50%#2F1115
  • OKLab50%#1F0609
  • OKLCH50%#1F0609

Its complement #004242

  • sRGB50%#2F3236
  • OKLab50%#403636
  • OKLCH50%#3F3A00
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #5e2129, white);
color: color-mix(in oklch, #5e2129 50%, white);

In use

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

Dark page

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

For text on this page, the nearest shade that passes is #AE696E 4.50:1

Color vision

How #5E2129 looks with color blindness

Deuteranopia changes it most, ΔE2000 25.7; tritanopia changes it least, 3.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

    #2F2E29 ΔE2000 23.6

    Distinct

    Reads as dark gray

  • Deuteranopia

    No working green (medium-wavelength) cones

    #3F3A28 ΔE2000 25.7

    Distinct

    Reads as dark grayish brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #671724 ΔE2000 3.3

    Close match

    Reads as dark soft brown

  • Achromatopsia

    No cone color vision; lightness only

    #363636 ΔE2000 21.5

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#5E2129 · #00424241.4Stays distinct
Protanopia#2F2E29 · #3D3E427.9Harder to tell apart
Deuteranopia#3F3A28 · #34384216.1Stays distinct
Tritanopia#671724 · #00454243.9Stays distinct
Achromatopsia#363636 · #3A3A3A1.3Easily confused

Harmony

Color harmonies for #5E2129

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

Complementary

Open in Harmony Studio
  • −30°#572243
  • Base#5E2129
  • +30°#5D2608
  • Base#5E2129
  • +120°#22420B
  • +240°#143865
  • Base#5E2129
  • +150°#00442F
  • +210°#003F52

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-3005: #5e2129;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-ral-3005: oklch(0.342 0.089 15.3);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-3005": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.3686, 0.1294, 0.1608],
        "hex": "#5e2129"
      },
      "$description": "RAL 3005 Wine red (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral3005 = Color(.sRGB, red: 0.369, green: 0.129, blue: 0.161, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral3005 = Color(0xFF5E2129)
}

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

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