RAL Classic color
RAL 3000 Flame red #AF2B1E
RAL 3000 Flame red is shown here as #AF2B1E, a widely published sRGB approximation of the printed swatch. It is a vivid red in the red family. In OKLCH it sits at lightness 0.498, chroma 0.171 and hue 29.9°. The nearest CSS named color is firebrick (#B22222), ΔE2000 2.4 away.
- Relative luminance
- 0.1094
- OKLCH L · C · h
- 0.498 · 0.171 · 29.9
- Best text
- White 6.58:1
- Hue family
- Red
#AF2B1E color codes
- HEX
#AF2B1E- RGB
rgb(175, 43, 30)- HSL
hsl(5, 71%, 40%)- OKLCH
oklch(0.498 0.171 29.9)- OKLab
oklab(0.498 0.148 0.085)- CIELAB (D65)
L* 39.48, a* 52.10, b* 39.96- XYZ (D65)
X 18.78, Y 10.94, Z 2.35- CMYK (naive)
cmyk(0%, 75%, 83%, 31%)
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 #AF2B1E accessible?
White text on it reaches 6.58:1, passing AA. Black text manages only 3.18: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.18:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc +22
-
White text on it
6.58:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc −86
-
As text on black
3.18:1
- AA fails
- AA large passes
- AAA fails
- APCA Lc −20
-
As text on white
6.58:1
- AA passes
- AA large passes
- AAA fails
- APCA Lc +81
Nearest versions that pass 4.5:1
-
For text on white
#AF2B1E 6.58:1
It already reaches 6.58:1 on white, so no change is needed.
-
For text on black
#CD4839 4.58:1
Lightening its OKLCH lightness from 0.50 to 0.58 reaches 4.58:1 on black, keeping the hue.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #AF2B1E 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 #AF2B1E
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #AF2B1E sits at step 700.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #AF2B1E can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.201; #AF2B1E uses 85% of it. Display P3, which many recent phones and laptops show, reaches 0.224 there: 12% more.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.171
- sRGB edge
- 0.201
- Display P3 edge
- 0.224
- Rec. 2020 edge
- 0.223
- Dominant wavelength
- 607 nm
- Excitation purity
- 80%
- Chromaticity
- x 0.5856, y 0.3411
- This color#AF2B1E
- Most vivid in sRGB#BA0A00
- Most vivid in Display P3oklch(0.498 0.224 29.9)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #af2b1e;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 0.6969 0.0525 0); }
}
Mixing
Mixing #AF2B1E
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%#D7958F
- OKLab50%#DE9A8E
- OKLCH50%#DE9A8E
Black #000000
- sRGB50%#58160F
- OKLab50%#410A05
- OKLCH50%#410A05
Its complement #00707E
- sRGB50%#584E4E
- OKLab50%#795A55
- OKLCH50%#5B6C00
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #af2b1e, white);
color: color-mix(in oklch, #af2b1e 50%, white);
In use
#AF2B1E 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.58:1 Passes
- Link and body-size textText, 4.5:16.58:1 Passes
- Large headingLarge text, 3:16.58:1 Passes
- Icons, borders and focus ringsNon-text, 3:16.58:1 Passes
Dark page
- Button labelText, 4.5:16.58:1 Passes
- Link and body-size textText, 4.5:12.84:1 Fails
- Large headingLarge text, 3:12.84:1 Fails
- Icons, borders and focus ringsNon-text, 3:12.84:1 Fails
For text on this page, the nearest shade that passes is #D55140 4.53:1
Color vision
How #AF2B1E looks with color blindness
Deuteranopia changes it most, ΔE2000 35.6; tritanopia changes it least, 6.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
#544A1B ΔE2000 32.3
Distinct
Reads as dark muted brown
-
Deuteranopia
No working green (medium-wavelength) cones
#746717 ΔE2000 35.6
Distinct
Reads as muted brown
-
Tritanopia
No working blue (short-wavelength) cones
#C1002A ΔE2000 6.6
Noticeable
Reads as vivid red
-
Achromatopsia
No cone color vision; lightness only
#5D5D5D ΔE2000 26.7
Distinct
Reads as dark gray
Pairing check
Checked against its complement, #00707E. Their lightness contrast is only 1.13:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #AF2B1E · #00707E | 47.2 | Stays distinct |
| Protanopia | #544A1B · #646B7F | 31.3 | Stays distinct |
| Deuteranopia | #746717 · #55617E | 37.8 | Stays distinct |
| Tritanopia | #C1002A · #007674 | 55.8 | Stays distinct |
| Achromatopsia | #5D5D5D · #656565 | 2.9 | Easily confused |
Harmony
Color harmonies for #AF2B1E
Its complement is #00707E, a 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#AF2B1E
- Complement#00707E
Complementary
Open in Harmony Studio- −30°#A9285F
- Base#AF2B1E
- +30°#924F00
Analogous
Open in Harmony Studio- Base#AF2B1E
- +120°#007734
- +240°#3F56C2
Triadic
Open in Harmony Studio- Base#AF2B1E
- +150°#007365
- +210°#006A9C
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-ral-3000: #af2b1e;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'ral-3000': '#af2b1e',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-ral-3000: oklch(0.498 0.171 29.9);
}
{
"color": {
"ral-3000": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [0.6863, 0.1686, 0.1176],
"hex": "#af2b1e"
},
"$description": "RAL 3000 Flame red (approximate sRGB)"
}
}
}
import SwiftUI
enum Palette {
static let ral3000 = Color(.sRGB, red: 0.686, green: 0.169, blue: 0.118, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val Ral3000 = Color(0xFFAF2B1E)
}
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 #AF2B1E 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.