#B31D1C#B31D1C
#B31D1C is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.5% C 0.184 H 27.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #B31D1C |
|---|---|
| RGB | rgb(179, 29, 28) |
| HSL | hsl(0, 73%, 41%) |
| HSV | hsv(0, 84%, 70%) |
| CMYK | cmyk(0%, 83.8%, 84.4%, 29.8%) |
| CIE-LAB | lab(38.81, 57.33, 40.68) |
| CIE-LCH | lch(38.81, 70.30, 35.36°) |
| OKLab | oklab(49.47% 0.1635 0.0853) |
| OKLCH | oklch(49.47% 0.184 27.6) |
| XYZ | xyz(19.2418, 10.5495, 2.1215) |
| Luminance | 0.1055 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 1.21
Scarlet
#BE0119
ΔE00 2.06
Darkish Red
#A90308
ΔE00 3.86
Brown
#A52A2A
ΔE00 4.07
Brick
#A03623
ΔE00 4.67
Brownish Red
#9E3623
ΔE00 4.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B31D1C #1CB2B3
analogous
#B31C67 #B31D1C #B3681C
triadic
#B31D1C #1CB31D #1D1CB3
tetradic
#B31D1C #67B31C #1CB2B3 #681CB3
square
#B31D1C #67B31C #1CB2B3 #681CB3
split-complementary
#B31D1C #1CB368 #1C67B3
monochromatic
#490C0B #7E1414 #B31D1C #DE2F2E #E76463
Accessibility & contrast
On white
6.75
#B31D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#B31D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B31D1C
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B31D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B31D1C | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#504719
Deuteranopia (green-blind)
#746713
Tritanopia (blue-blind)
#C60020
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #b31d1c; /* rgb */ color: rgb(179, 29, 28); /* oklch */ color: oklch(49.5% 0.184 27.6);
Tailwind
colors: {
custom: {
50: '#d46a5a',
500: '#b31d1c',
950: '#000000',
},
}SCSS
$custom: #b31d1c; $custom-light: #d46a5a; $custom-dark: #000000;
JSON
{
"hex": "#b31d1c",
"rgb": {
"r": 179,
"g": 29,
"b": 28
},
"hsl": {
"h": 0.397,
"s": 72.947,
"l": 40.588
},
"oklch": {
"l": 0.49468,
"c": 0.18446,
"h": 27.6
},
"luminance": 0.10546
}Semantic roles & 50–950 ramp
primary
#B31D1C
secondary
#5FCBCB
accent
#EEF038
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160704
muted
#847A79