RAL Classic color

RAL 2011 Deep orange #EC7C26

RAL 2011 Deep orange is shown here as #EC7C26, a widely published sRGB approximation of the printed swatch. It is a light soft orange in the orange family. In OKLCH it sits at lightness 0.701, chroma 0.165 and hue 52.3°. The nearest CSS named color is darkorange (#FF8C00), ΔE2000 6.9 away.

Relative luminance
0.3239
OKLCH L · C · h
0.701 · 0.165 · 52.3
Best text
Black 7.47:1
Hue family
Orange

#EC7C26 color codes

HEX
#EC7C26
RGB
rgb(236, 124, 38)
HSL
hsl(26, 84%, 54%)
OKLCH
oklch(0.701 0.165 52.3)
OKLab
oklab(0.701 0.101 0.131)
CIELAB (D65)
L* 63.67, a* 37.91, b* 61.82
XYZ (D65)
X 42.15, Y 32.39, Z 5.87
CMYK (naive)
cmyk(0%, 47%, 84%, 7%)

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

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

    7.47:1

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

    2.80:1

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

    7.47:1

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

    2.80:1

    • AA fails
    • AA large fails
    • AAA fails
    • APCA Lc +53

Nearest versions that pass 4.5:1

  • For text on white

    #BA5A00 4.61:1

    Darkening its OKLCH lightness from 0.70 to 0.58 reaches 4.61:1 on white, keeping the hue.

  • For text on black

    #EC7C26 7.47:1

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

Checking another pair? Use the Contrast Checker.

Studio

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

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

  1. 50#FFF2EB
    White
    1.09
    Black
    19.15
  2. 100#FFE5D6
    White
    1.20
    Black
    17.43
  3. 200#FFCBAC
    White
    1.45
    Black
    14.39
  4. 300#FFA56C
    White
    1.93
    Black
    10.85
  5. 400This color#EC7C26
    White
    2.80
    Black
    7.47
  6. 500#CE6500
    White
    3.82
    Black
    5.48
  7. 600#AB5200
    White
    5.33
    Black
    3.93
  8. 700#894100
    White
    7.44
    Black
    2.81
  9. 800#652E00
    White
    10.80
    Black
    1.94
  10. 900#431C00
    White
    14.94
    Black
    1.40
  11. 950#280E00
    White
    18.21
    Black
    1.15

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

Gamut

How vivid #EC7C26 can get

At its lightness and hue, sRGB reaches OKLCH chroma 0.180; #EC7C26 uses 92% of it. Display P3, which many recent phones and laptops show, reaches 0.204 there: 14% more.

0.00.20.40.60.80.20.40.60.8 460480500520540560580600620
  • sRGB
  • Display P3
  • Rec. 2020
  • Dominant wavelength
OKLCH chroma
0.165
sRGB edge
0.180
Display P3 edge
0.204
Rec. 2020 edge
0.207
Dominant wavelength
590 nm
Excitation purity
80%
Chromaticity
x 0.5242, y 0.4028
  • This color#EC7C26
  • Most vivid in sRGB#F27800
  • Most vivid in Display P3oklch(0.701 0.204 52.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: #ec7c26;
}
@media (color-gamut: p3) {
  .accent { color: color(display-p3 0.9201 0.4682 0); }
}

Mixing

Mixing #EC7C26

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%#F6BE93
  • OKLab50%#FABF9C
  • OKLCH50%#FABF9C

Black #000000

  • sRGB50%#763E13
  • OKLab50%#5B2C08
  • OKLCH50%#5B2C08

Its complement #00ACE8

  • sRGB50%#769487
  • OKLab50%#A49D99
  • OKLCH50%#CB7BD6
In CSS
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ec7c26, white);
color: color-mix(in oklch, #ec7c26 50%, white);

In use

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

For text on this page, the nearest shade that passes is #BA5A00 4.61:1

Dark page

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

Color vision

How #EC7C26 looks with color blindness

Achromatopsia changes it most, ΔE2000 27.6; tritanopia changes it least, 23.8.

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

    #9D8B15 ΔE2000 26.7

    Distinct

    Reads as soft amber

  • Deuteranopia

    No working green (medium-wavelength) cones

    #B8A424 ΔE2000 27.2

    Distinct

    Reads as light soft amber

  • Tritanopia

    No working blue (short-wavelength) cones

    #FF636C ΔE2000 23.8

    Distinct

    Reads as light vivid red

  • Achromatopsia

    No cone color vision; lightness only

    #9A9A9A ΔE2000 27.6

    Distinct

    Reads as gray

Pairing check

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

VisionThe pairΔE2000Verdict
Normal vision#EC7C26 · #00ACE852.2Stays distinct
Protanopia#9D8B15 · #8EAAEB51.4Stays distinct
Deuteranopia#B8A424 · #7398E754.9Stays distinct
Tritanopia#FF636C · #00BCC159.3Stays distinct
Achromatopsia#9A9A9A · #A0A0A01.9Easily confused

Harmony

Color harmonies for #EC7C26

Its complement is #00ACE8, a light soft blue, 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#EC7C26
  • Complement#00ACE8

Complementary

Open in Harmony Studio
  • −30°#F46E6E
  • Base#EC7C26
  • +30°#CB9400
  • Base#EC7C26
  • +120°#00B996
  • +240°#A388FB
  • Base#EC7C26
  • +150°#00B4BF
  • +210°#689CFF

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-2011: #ec7c26;
}

Tailwind config

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

Tailwind v4 theme

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

@theme {
  --color-ral-2011: oklch(0.701 0.165 52.3);
}

Design token (W3C DTCG)

{
  "color": {
    "ral-2011": {
      "$type": "color",
      "$value": {
        "colorSpace": "srgb",
        "components": [0.9255, 0.4863, 0.149],
        "hex": "#ec7c26"
      },
      "$description": "RAL 2011 Deep orange (approximate sRGB)"
    }
  }
}

SwiftUI color

import SwiftUI

enum Palette {
    static let ral2011 = Color(.sRGB, red: 0.925, green: 0.486, blue: 0.149, opacity: 1)
}

Jetpack Compose color

import androidx.compose.ui.graphics.Color

object Palette {
    val Ral2011 = Color(0xFFEC7C26)
}

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

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