RAL Classic color

RAL 3002 Carmine red #A2231D

RAL 3002 Carmine red is shown here as #A2231D, 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.467, chroma 0.164 and hue 28.2°. The nearest CSS named color is brown (#A52A2A), ΔE2000 3.0 away.

Relative luminance
0.0897
OKLCH L · C · h
0.467 · 0.164 · 28.2
Best text
White 7.51:1
Hue family
Red

#A2231D color codes

HEX
#A2231D
RGB
rgb(162, 35, 29)
HSL
hsl(3, 70%, 37%)
OKLCH
oklch(0.467 0.164 28.2)
OKLab
oklab(0.467 0.145 0.078)
CIELAB (D65)
L* 35.94, a* 50.63, b* 36.20
XYZ (D65)
X 15.73, Y 8.97, Z 2.07
CMYK (naive)
cmyk(0%, 78%, 82%, 36%)

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

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

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

    7.51:1

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

    2.79:1

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

    7.51:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #A2231D 7.51:1

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

  • For text on black

    #CA4B3F 4.58:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  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#F57566
    White
    2.75
    Black
    7.61
  6. 500#D7574A
    White
    3.92
    Black
    5.35
  7. 600#BB3D33
    White
    5.48
    Black
    3.82
  8. 700This color#A2231D
    White
    7.51
    Black
    2.79
  9. 800#7D0104
    White
    11.18
    Black
    1.87
  10. 900#540001
    White
    15.24
    Black
    1.37
  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 #A2231D can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.191; #A2231D uses 86% of it. Display P3, which many recent phones and laptops show, reaches 0.215 there: 13% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.164
sRGB edge
0.191
Display P3 edge
0.215
Rec. 2020 edge
0.219
Dominant wavelength
609 nm
Excitation purity
79%
Chromaticity
x 0.5875, y 0.3353
  • This color#A2231D
  • Most vivid in sRGB#AC0007
  • Most vivid in Display P3oklch(0.467 0.215 28.2)

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

Use the wider color where screens show it
.accent {
  color: #a2231d;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.645 0 0.0189); }
}

Mixing

Mixing #A2231D

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%#D1918E
  • OKLab50%#D8958C
  • OKLCH50%#D8958C

Black #000000

  • sRGB50%#51120F
  • OKLab50%#3C0705
  • OKLCH50%#3C0705

Its complement #006672

  • sRGB50%#514548
  • OKLab50%#70514D
  • OKLCH50%#644894
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a2231d, white);
color: color-mix(in oklch, #a2231d 50%, white);

In use

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

Dark page

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

For text on this page, the nearest shade that passes is #D25347 4.52:1

Color vision

How #A2231D looks with color blindness

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

    #4B431B ΔE2000 31.8

    Distinct

    Reads as dark muted brown

  • Deuteranopia

    No working green (medium-wavelength) cones

    #6A5E17 ΔE2000 34.9

    Distinct

    Reads as dark muted brown

  • Tritanopia

    No working blue (short-wavelength) cones

    #B30023 ΔE2000 4.6

    Close match

    Reads as vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #545454 ΔE2000 26.3

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#A2231D · #00667246.2Stays distinct
Protanopia#4B431B · #5B627328.4Stays distinct
Deuteranopia#6A5E17 · #4E587235.8Stays distinct
Tritanopia#B30023 · #006C6A53.7Stays distinct
Achromatopsia#545454 · #5C5C5C2.8Easily confused

Harmony

Color harmonies for #A2231D

Its complement is #006672, 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#A2231D
  • Complement#006672

Complementary

Open in Harmony Studio
  • −30°#9C2159
  • Base#A2231D
  • +30°#874700
  • Base#A2231D
  • +120°#006D29
  • +240°#344FB4
  • Base#A2231D
  • +150°#00695A
  • +210°#00618D

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-3002: #a2231d;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-ral-3002: oklch(0.467 0.164 28.2);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-3002": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6353, 0.1373, 0.1137],
        "hex": "#a2231d"
      },
      "$description": "RAL 3002 Carmine red (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral3002 = Color(.sRGB, red: 0.635, green: 0.137, blue: 0.114, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral3002 = Color(0xFFA2231D)
}

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

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