#B31E1A#B31E1A
#B31E1A is a mid, vivid red. Relative luminance 0.106; OKLCH L 49.5% C 0.184 H 28.2°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).
Color values
| HEX | #B31E1A |
|---|---|
| RGB | rgb(179, 30, 26) |
| HSL | hsl(2, 75%, 40%) |
| HSV | hsv(2, 85%, 70%) |
| CMYK | cmyk(0%, 83.2%, 85.5%, 29.8%) |
| CIE-LAB | lab(38.88, 57.04, 41.78) |
| CIE-LCH | lch(38.88, 70.71, 36.22°) |
| OKLab | oklab(49.52% 0.1622 0.087) |
| OKLCH | oklch(49.52% 0.184 28.2) |
| XYZ | xyz(19.2436, 10.5900, 2.0079) |
| Luminance | 0.1059 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.75
Scarlet
#BE0119
ΔE00 2.27
Darkish Red
#A90308
ΔE00 3.62
Brick
#A03623
ΔE00 4.49
Brown
#A52A2A
ΔE00 4.51
Brownish Red
#9E3623
ΔE00 4.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31E1A #1AAFB3
analogous
#B31A62 #B31E1A #B36B1A
triadic
#B31E1A #1AB31E #1E1AB3
tetradic
#B31E1A #62B31A #1AAFB3 #6B1AB3
square
#B31E1A #62B31A #1AAFB3 #6B1AB3
split-complementary
#B31E1A #1AB36B #1A62B3
monochromatic
#480C0A #7E1512 #B31E1A #E02F2A #E86360
Accessibility & contrast
On white
6.74
#B31E1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#B31E1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31E1A
6.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31E1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31E1A | 1.00 | 6.74 | 3.12 | 6.74 |
| #FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504717
Deuteranopia (green-blind)
#746710
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #b31e1a; /* rgb */ color: rgb(179, 30, 26); /* oklch */ color: oklch(49.5% 0.184 28.2);
Tailwind
colors: {
custom: {
50: '#d46b59',
500: '#b31e1a',
950: '#000000',
},
}SCSS
$custom: #b31e1a; $custom-light: #d46b59; $custom-dark: #000000;
JSON
{
"hex": "#b31e1a",
"rgb": {
"r": 179,
"g": 30,
"b": 26
},
"hsl": {
"h": 1.569,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.49515,
"c": 0.18408,
"h": 28.2
},
"luminance": 0.10587
}Semantic roles & 50–950 ramp
primary
#B31E1A
secondary
#5DC9CC
accent
#ECF137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78