RAL Classic color

RAL 4006 Traffic purple #A03472

RAL 4006 Traffic purple is shown here as #A03472, a widely published sRGB approximation of the printed swatch. It is a soft pink in the pink family. In OKLCH it sits at lightness 0.502, chroma 0.156 and hue 348.8°. The nearest CSS named color is mediumvioletred (#C71585), ΔE2000 7.1 away.

Relative luminance
0.1114
OKLCH L · C · h
0.502 · 0.156 · 348.8
Best text
White 6.50:1
Hue family
Pink

#A03472 color codes

HEX
#A03472
RGB
rgb(160, 52, 114)
HSL
hsl(326, 51%, 42%)
OKLCH
oklch(0.502 0.156 348.8)
OKLab
oklab(0.502 0.153 -0.030)
CIELAB (D65)
L* 39.83, a* 50.51, b* -11.61
XYZ (D65)
X 18.76, Y 11.15, Z 17.08
CMYK (naive)
cmyk(0%, 68%, 29%, 37%)

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

White text on it reaches 6.50:1, passing AA. Black text manages only 3.22: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.22:1

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

    6.50:1

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

    3.22:1

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

    6.50:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #A03472 6.50:1

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

  • For text on black

    #BB4D8A 4.54:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF1F7
    White
    1.09
    Black
    19.17
  2. 100#FFE2EF
    White
    1.20
    Black
    17.37
  3. 200#FFC4E0
    White
    1.47
    Black
    14.22
  4. 300#FF97CC
    White
    1.99
    Black
    10.55
  5. 400#E676B1
    White
    2.76
    Black
    7.59
  6. 500#C85995
    White
    3.94
    Black
    5.31
  7. 600This color#A03472
    White
    6.50
    Black
    3.22
  8. 700#912966
    White
    7.74
    Black
    2.71
  9. 800#710D4C
    White
    11.26
    Black
    1.86
  10. 900#4E0032
    White
    15.32
    Black
    1.36
  11. 950#2F001C
    White
    18.45
    Black
    1.13

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

Gamut

How vivid #A03472 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.210; #A03472 uses 74% of it. Display P3, which many recent phones and laptops show, reaches 0.236 there: 12% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.156
sRGB edge
0.210
Display P3 edge
0.236
Rec. 2020 edge
0.276
Dominant wavelength
Complementary 505 nm
Excitation purity
50%
Chromaticity
x 0.3993, y 0.2372
  • This color#A03472
  • Most vivid in sRGB#B10077
  • Most vivid in Display P3oklch(0.502 0.236 348.8)

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

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

Mixing

Mixing #A03472

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%#D09AB9
  • OKLab50%#D59AB6
  • OKLCH50%#D59AB6

Black #000000

  • sRGB50%#501A39
  • OKLab50%#3B0E28
  • OKLCH50%#3B0E28

Its complement #007659

  • sRGB50%#505566
  • OKLab50%#715E66
  • OKLCH50%#845B00
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a03472, white);
color: color-mix(in oklch, #a03472 50%, white);

In use

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

Dark page

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

For text on this page, the nearest shade that passes is #C55693 4.57:1

Color vision

How #A03472 looks with color blindness

Protanopia changes it most, ΔE2000 27.9; tritanopia changes it least, 11.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

    #425274 ΔE2000 27.9

    Distinct

    Reads as dark muted blue

  • Deuteranopia

    No working green (medium-wavelength) cones

    #61656F ΔE2000 24.9

    Distinct

    Reads as gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #AB304E ΔE2000 11.4

    Distinct

    Reads as soft pink

  • Achromatopsia

    No cone color vision; lightness only

    #5E5E5E ΔE2000 25.2

    Distinct

    Reads as dark gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#A03472 · #00765947.0Stays distinct
Protanopia#425274 · #736D5728.5Stays distinct
Deuteranopia#61656F · #66645B10.9Stays distinct
Tritanopia#AB304E · #00776E56.4Stays distinct
Achromatopsia#5E5E5E · #6767673.3Easily confused

Harmony

Color harmonies for #A03472

Its complement is #007659, a soft green, 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#A03472
  • Complement#007659

Complementary

Open in Harmony Studio
  • −30°#88409B
  • Base#A03472
  • +30°#AB323F
  • Base#A03472
  • +120°#696800
  • +240°#006E90
  • Base#A03472
  • +150°#2A7702
  • +210°#007276

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-4006: #a03472;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-ral-4006: oklch(0.502 0.156 348.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-4006": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6275, 0.2039, 0.4471],
        "hex": "#a03472"
      },
      "$description": "RAL 4006 Traffic purple (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral4006 = Color(.sRGB, red: 0.627, green: 0.204, blue: 0.447, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral4006 = Color(0xFFA03472)
}

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

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