#B31A1A#B31A1A
#B31A1A is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.3% C 0.186 H 27.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).
Color values
| HEX | #B31A1A |
|---|---|
| RGB | rgb(179, 26, 26) |
| HSL | hsl(0, 75%, 40%) |
| HSV | hsv(0, 85%, 70%) |
| CMYK | cmyk(0%, 85.5%, 85.5%, 29.8%) |
| CIE-LAB | lab(38.55, 57.98, 41.49) |
| CIE-LCH | lch(38.55, 71.30, 35.59°) |
| OKLab | oklab(49.27% 0.1652 0.0863) |
| OKLCH | oklch(49.27% 0.186 27.6) |
| XYZ | xyz(19.1487, 10.4003, 1.9763) |
| Luminance | 0.1040 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.54
Scarlet
#BE0119
ΔE00 2.03
Darkish Red
#A90308
ΔE00 3.54
Brown
#A52A2A
ΔE00 4.29
Brick
#A03623
ΔE00 4.78
Brownish Red
#9E3623
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31A1A #1AB3B3
analogous
#B31A66 #B31A1A #B3661A
triadic
#B31A1A #1AB31A #1A1AB3
tetradic
#B31A1A #66B31A #1AB3B3 #661AB3
square
#B31A1A #66B31A #1AB3B3 #661AB3
split-complementary
#B31A1A #1AB366 #1A66B3
monochromatic
#480A0A #7E1212 #B31A1A #E02A2A #E86060
Accessibility & contrast
On white
6.82
#B31A1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#B31A1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31A1A
6.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31A1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31A1A | 1.00 | 6.82 | 3.08 | 6.82 |
| #FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#736610
Tritanopia (blue-blind)
#C6001D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31a1a; /* rgb */ color: rgb(179, 26, 26); /* oklch */ color: oklch(49.3% 0.186 27.6);
Tailwind
colors: {
custom: {
50: '#d46958',
500: '#b31a1a',
950: '#000000',
},
}SCSS
$custom: #b31a1a; $custom-light: #d46958; $custom-dark: #000000;
JSON
{
"hex": "#b31a1a",
"rgb": {
"r": 179,
"g": 26,
"b": 26
},
"hsl": {
"h": 0,
"s": 74.634,
"l": 40.196
},
"oklch": {
"l": 0.49271,
"c": 0.18636,
"h": 27.6
},
"luminance": 0.10397
}Semantic roles & 50–950 ramp
primary
#B31A1A
secondary
#5DCCCC
accent
#F1F137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78