#B31C1F#B31C1F
#B31C1F is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 26.6°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C1F |
|---|---|
| RGB | rgb(179, 28, 31) |
| HSL | hsl(359, 73%, 41%) |
| HSV | hsv(359, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 82.7%, 29.8%) |
| CIE-LAB | lab(38.75, 57.65, 39.02) |
| CIE-LCH | lch(38.75, 69.61, 34.09°) |
| OKLab | oklab(49.43% 0.1651 0.0829) |
| OKLCH | oklch(49.43% 0.185 26.6) |
| XYZ | xyz(19.2554, 10.5163, 2.3121) |
| Luminance | 0.1051 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.63
Scarlet
#BE0119
ΔE00 2.08
Brown
#A52A2A
ΔE00 3.48
Darkish Red
#A90308
ΔE00 4.37
Brick
#A03623
ΔE00 5.02
Brownish Red
#9E3623
ΔE00 5.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C1F #1CB3B0
analogous
#B31C6A #B31C1F #B3641C
triadic
#B31C1F #1FB31C #1C1FB3
tetradic
#B31C1F #6AB31C #1CB3B0 #641CB3
square
#B31C1F #6AB31C #1CB3B0 #641CB3
split-complementary
#B31C1F #1CB364 #1C6AB3
monochromatic
#490B0D #7E1416 #B31C1F #DE2E31 #E76365
Accessibility & contrast
On white
6.77
#B31C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B31C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C1F
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C1F | 1.00 | 6.77 | 3.10 | 6.77 |
| #FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.10 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#4F461D
Deuteranopia (green-blind)
#736717
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31c1f; /* rgb */ color: rgb(179, 28, 31); /* oklch */ color: oklch(49.4% 0.185 26.6);
Tailwind
colors: {
custom: {
50: '#d46a5c',
500: '#b31c1f',
950: '#000000',
},
}SCSS
$custom: #b31c1f; $custom-light: #d46a5c; $custom-dark: #000000;
JSON
{
"hex": "#b31c1f",
"rgb": {
"r": 179,
"g": 28,
"b": 31
},
"hsl": {
"h": 358.808,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.49434,
"c": 0.18474,
"h": 26.6
},
"luminance": 0.10513
}Semantic roles & 50–950 ramp
primary
#B31C1F
secondary
#5FCBC9
accent
#F0EC38
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79