#B7312B#B7312B
#B7312B is a mid, vivid red. Relative luminance 0.124; OKLCH L 52.0% C 0.172 H 27.5°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B7312B |
|---|---|
| RGB | rgb(183, 49, 43) |
| HSL | hsl(3, 62%, 44%) |
| HSV | hsv(3, 77%, 72%) |
| CMYK | cmyk(0%, 73.2%, 76.5%, 28.2%) |
| CIE-LAB | lab(41.91, 52.97, 35.79) |
| CIE-LCH | lch(41.91, 63.93, 34.04°) |
| OKLab | oklab(51.96% 0.1524 0.0794) |
| OKLCH | oklch(51.96% 0.172 27.5) |
| XYZ | xyz(21.0652, 12.4416, 3.5773) |
| Luminance | 0.1244 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.63
Scarlet
#BE0119
ΔE00 3.90
Brown
#A52A2A
ΔE00 4.40
Dull Red
#BB3F3F
ΔE00 4.49
Brick
#A03623
ΔE00 5.15
Reddish
#C44240
ΔE00 5.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7312B #2BB1B7
analogous
#B72B6B #B7312B #B7772B
triadic
#B7312B #2BB731 #312BB7
tetradic
#B7312B #6BB72B #2BB1B7 #772BB7
square
#B7312B #6BB72B #2BB1B7 #772BB7
split-complementary
#B7312B #2BB777 #2B6BB7
monochromatic
#541614 #85241F #B7312B #D5514B #E0807C
Accessibility & contrast
On white
6.02
#B7312B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B7312B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7312B
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7312B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7312B | 1.00 | 6.02 | 3.49 | 6.02 |
| #FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.02 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595029
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#CA0031
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b7312b; /* rgb */ color: rgb(183, 49, 43); /* oklch */ color: oklch(52.0% 0.172 27.5);
Tailwind
colors: {
custom: {
50: '#d57365',
500: '#b7312b',
950: '#000000',
},
}SCSS
$custom: #b7312b; $custom-light: #d57365; $custom-dark: #000000;
JSON
{
"hex": "#b7312b",
"rgb": {
"r": 183,
"g": 49,
"b": 43
},
"hsl": {
"h": 2.571,
"s": 61.947,
"l": 44.314
},
"oklch": {
"l": 0.51961,
"c": 0.17182,
"h": 27.5
},
"luminance": 0.12438
}Semantic roles & 50–950 ramp
primary
#B7312B
secondary
#75C5C9
accent
#DEE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A