RAL Classic color
RAL 3013 Tomato red #A12312
RAL 3013 Tomato red is shown here as #A12312, 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.464, chroma 0.164 and hue 31.1°. The nearest CSS named color is firebrick (#B22222), ΔE2000 4.9 away.
- Relative luminance
- 0.0882
- OKLCH L · C · h
- 0.464 · 0.164 · 31.1
- Best text
- White 7.59:1
- Hue family
- Red
#A12312 color codes
- HEX
#A12312- RGB
rgb(161, 35, 18)- HSL
hsl(7, 80%, 35%)- OKLCH
oklch(0.464 0.164 31.1)- OKLab
oklab(0.464 0.141 0.085)- CIELAB (D65)
L* 35.65, a* 50.03, b* 41.48- XYZ (D65)
X 15.41, Y 8.83, Z 1.46- CMYK (naive)
cmyk(0%, 78%, 89%, 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 #A12312 accessible?
White text on it reaches 7.59:1, passing AAA. Black text fails at 2.76: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.76:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc +19
-
White text on it
7.59:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −89
-
As text on black
2.76:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc −17
-
As text on white
7.59:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +84
Nearest versions that pass 4.5:1
-
For text on white
#A12312 7.59:1
It already reaches 7.59:1 on white, so no change is needed.
-
For text on black
#C94B38 4.54:1
Lightening its OKLCH lightness from 0.46 to 0.58 reaches 4.54:1 on black, keeping the hue.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #A12312 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.
Scale
Shades and tints of #A12312
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #A12312 sits at step 700.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #A12312 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.181; #A12312 uses 91% of it. Display P3, which many recent phones and laptops show, reaches 0.202 there: 12% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.164
- sRGB edge
- 0.181
- Display P3 edge
- 0.202
- Rec. 2020 edge
- 0.201
- Dominant wavelength
- 607 nm
- Excitation purity
- 84%
- Chromaticity
- x 0.5996, y 0.3434
- This color#A12312
- Most vivid in sRGB#A71400
- Most vivid in Display P3oklch(0.464 0.202 31.1)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #a12312;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.6253 0.0844 0); }
}
Mixing
Mixing #A12312
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%#D09189
- OKLab50%#D79589
- OKLCH50%#D79589
Black #000000
- sRGB50%#511209
- OKLab50%#3C0702
- OKLCH50%#3C0702
Its complement #006573
- sRGB50%#514443
- OKLab50%#6F514B
- OKLCH50%#664692
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #a12312, white);
color: color-mix(in oklch, #a12312 50%, white);
In use
#A12312 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.59:1 Passes
- Link and body-size textText, 4.5:17.59:1 Passes
- Large headingLarge text, 3:17.59:1 Passes
- Icons, borders and focus ringsNon-text, 3:17.59:1 Passes
Dark page
- Button labelText, 4.5:17.59:1 Passes
- Link and body-size textText, 4.5:12.46:1 Fails
- Large headingLarge text, 3:12.46:1 Fails
- Icons, borders and focus ringsNon-text, 3:12.46:1 Fails
For text on this page, the nearest shade that passes is #D35441 4.56:1
Color vision
How #A12312 looks with color blindness
Deuteranopia changes it most, ΔE2000 34.6; tritanopia changes it least, 6.5.
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
#4B420D ΔE2000 32.0
Distinct
Reads as dark muted brown
-
Deuteranopia
No working green (medium-wavelength) cones
#6A5E08 ΔE2000 34.6
Distinct
Reads as dark muted yellow
-
Tritanopia
No working blue (short-wavelength) cones
#B20021 ΔE2000 6.5
Noticeable
Reads as vivid red
-
Achromatopsia
No cone color vision; lightness only
#545454 ΔE2000 26.6
Distinct
Reads as dark gray
Pairing check
Checked against its complement, #006573. Their lightness contrast is only 1.12:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #A12312 · #006573 | 45.6 | Stays distinct |
| Protanopia | #4B420D · #5A6174 | 31.7 | Stays distinct |
| Deuteranopia | #6A5E08 · #4C5773 | 38.0 | Stays distinct |
| Tritanopia | #B20021 · #006B69 | 53.5 | Stays distinct |
| Achromatopsia | #545454 · #5B5B5B | 2.5 | Easily confused |
Harmony
Color harmonies for #A12312
Its complement is #006573, 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#A12312
- Complement#006573
Complementary
Open in Harmony Studio- −30°#9C1F54
- Base#A12312
- +30°#834800
Analogous
Open in Harmony Studio- Base#A12312
- +120°#006C32
- +240°#3A4CB3
Triadic
Open in Harmony Studio- Base#A12312
- +150°#00685C
- +210°#005F90
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-ral-3013: #a12312;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ral-3013': '#a12312',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-ral-3013: oklch(0.464 0.164 31.1);
}
{
"color": {
"ral-3013": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6314, 0.1373, 0.0706],
"hex": "#a12312"
},
"$description": "RAL 3013 Tomato red (approximate sRGB)"
}
}
}
import SwiftUI
enum Palette {
static let ral3013 = Color(.sRGB, red: 0.631, green: 0.137, blue: 0.071, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Ral3013 = Color(0xFFA12312)
}
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 #A12312 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.