#B31C1D#B31C1D
#B31C1D is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 27.2°. Best body text is #FFFFFF at 6.77:1 contrast (WCAG AA passes).
Color values
| HEX | #B31C1D |
|---|---|
| RGB | rgb(179, 28, 29) |
| HSL | hsl(360, 73%, 41%) |
| HSV | hsv(360, 84%, 70%) |
| CMYK | cmyk(0%, 84.4%, 83.8%, 29.8%) |
| CIE-LAB | lab(38.74, 57.60, 40.09) |
| CIE-LCH | lch(38.74, 70.17, 34.84°) |
| OKLab | oklab(49.42% 0.1645 0.0844) |
| OKLCH | oklch(49.42% 0.185 27.2) |
| XYZ | xyz(19.2299, 10.5061, 2.1775) |
| Luminance | 0.1050 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 0.96
Scarlet
#BE0119
ΔE00 2.00
Brown
#A52A2A
ΔE00 3.83
Darkish Red
#A90308
ΔE00 4.01
Brick
#A03623
ΔE00 4.83
Brownish Red
#9E3623
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31C1D #1CB3B2
analogous
#B31C68 #B31C1D #B3671C
triadic
#B31C1D #1DB31C #1C1DB3
tetradic
#B31C1D #68B31C #1CB3B2 #671CB3
square
#B31C1D #68B31C #1CB3B2 #671CB3
split-complementary
#B31C1D #1CB367 #1C68B3
monochromatic
#490B0C #7E1414 #B31C1D #DE2E2F #E76364
Accessibility & contrast
On white
6.77
#B31C1D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.10
#B31C1D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31C1D
6.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31C1D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31C1D | 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)
#4F461A
Deuteranopia (green-blind)
#736714
Tritanopia (blue-blind)
#C6001F
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31c1d; /* rgb */ color: rgb(179, 28, 29); /* oklch */ color: oklch(49.4% 0.185 27.2);
Tailwind
colors: {
custom: {
50: '#d46a5a',
500: '#b31c1d',
950: '#000000',
},
}SCSS
$custom: #b31c1d; $custom-light: #d46a5a; $custom-dark: #000000;
JSON
{
"hex": "#b31c1d",
"rgb": {
"r": 179,
"g": 28,
"b": 29
},
"hsl": {
"h": 359.603,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.49415,
"c": 0.18493,
"h": 27.2
},
"luminance": 0.10503
}Semantic roles & 50–950 ramp
primary
#B31C1D
secondary
#5FCBCB
accent
#F0EE38
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79