RAL Classic color

RAL 4009 Pastel violet #A18594

RAL 4009 Pastel violet is shown here as #A18594, a widely published sRGB approximation of the printed swatch. It is a grayish magenta in the pink family. In OKLCH it sits at lightness 0.647, chroma 0.040 and hue 344.8°. The nearest CSS named color is rosybrown (#BC8F8F), ΔE2000 9.0 away.

Relative luminance
0.2649
OKLCH L · C · h
0.647 · 0.040 · 344.8
Best text
Black 6.29:1
Hue family
Pink

#A18594 color codes

HEX
#A18594
RGB
rgb(161, 133, 148)
HSL
hsl(328, 13%, 58%)
OKLCH
oklch(0.647 0.040 344.8)
OKLab
oklab(0.647 0.039 -0.010)
CIELAB (D65)
L* 58.50, a* 13.27, b* -4.00
XYZ (D65)
X 28.43, Y 26.49, Z 31.63
CMYK (naive)
cmyk(0%, 17%, 8%, 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 #A18594 accessible?

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

    6.29:1

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

    3.33:1

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

    6.29:1

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

    3.33:1

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

Nearest versions that pass 4.5:1

  • For text on white

    #8A6F7E 4.51:1

    Darkening its OKLCH lightness from 0.65 to 0.57 reaches 4.51:1 on white, keeping the hue.

  • For text on black

    #A18594 6.29:1

    It already reaches 6.29:1 on black, so no change is needed.

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF0F8
    White
    1.10
    Black
    19.07
  2. 100#FCE3F0
    White
    1.20
    Black
    17.38
  3. 200#EACFDD
    White
    1.45
    Black
    14.46
  4. 300#D0B5C3
    White
    1.89
    Black
    11.07
  5. 400#B498A7
    White
    2.62
    Black
    7.98
  6. 500This color#A18594
    White
    3.33
    Black
    6.29
  7. 600#806674
    White
    5.15
    Black
    4.07
  8. 700#68505D
    White
    7.25
    Black
    2.89
  9. 800#4E3844
    White
    10.64
    Black
    1.97
  10. 900#35222D
    White
    14.80
    Black
    1.41
  11. 950#201019
    White
    18.26
    Black
    1.14

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

Gamut

How vivid #A18594 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.276; #A18594 uses 15% of it. Display P3, which many recent phones and laptops show, reaches 0.307 there: 12% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.040
sRGB edge
0.276
Display P3 edge
0.307
Rec. 2020 edge
0.360
Dominant wavelength
Complementary 511 nm
Excitation purity
11%
Chromaticity
x 0.3285, y 0.3061
  • This color#A18594
  • Most vivid in sRGB#F500B4
  • Most vivid in Display P3oklch(0.647 0.307 344.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: #a18594;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9138 0 0.7025); }
}

Mixing

Mixing #A18594

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%#D0C2CA
  • OKLab50%#CFC0C8
  • OKLCH50%#CFC0C8

Black #000000

  • sRGB50%#51434A
  • OKLab50%#3C3036
  • OKLCH50%#3C3036

Its complement #789688

  • sRGB50%#8D8E8E
  • OKLab50%#8E8E8E
  • OKLCH50%#7E90A7
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a18594, white);
color: color-mix(in oklch, #a18594 50%, white);

In use

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

For text on this page, the nearest shade that passes is #8A6F7E 4.51:1

Dark page

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

Color vision

How #A18594 looks with color blindness

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

    #878A95 ΔE2000 13.2

    Distinct

    Reads as gray

  • Deuteranopia

    No working green (medium-wavelength) cones

    #8D8E93 ΔE2000 13.1

    Distinct

    Reads as gray

  • Tritanopia

    No working blue (short-wavelength) cones

    #A5858A ΔE2000 4.3

    Close match

    Reads as grayish pink

  • Achromatopsia

    No cone color vision; lightness only

    #8D8D8D ΔE2000 13.9

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#A18594 · #78968829.6Stays distinct
Protanopia#878A95 · #95928711.9Stays distinct
Deuteranopia#8D8E93 · #8F8E895.6Harder to tell apart
Tritanopia#A5858A · #72969232.1Stays distinct
Achromatopsia#8D8D8D · #8F8F8F0.7Easily confused

Harmony

Color harmonies for #A18594

Its complement is #789688, a grayish 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#A18594
  • Complement#789688

Complementary

Open in Harmony Studio
  • −30°#9887A0
  • Base#A18594
  • +30°#A58587
  • Base#A18594
  • +120°#929074
  • +240°#7594A1
  • Base#A18594
  • +150°#84947C
  • +210°#729696

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-4009: #a18594;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-ral-4009: oklch(0.647 0.040 344.8);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-4009": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.6314, 0.5216, 0.5804],
        "hex": "#a18594"
      },
      "$description": "RAL 4009 Pastel violet (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral4009 = Color(.sRGB, red: 0.631, green: 0.522, blue: 0.580, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral4009 = Color(0xFFA18594)
}

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

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