#B7312A#B7312A
#B7312A is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.9% C 0.172 H 27.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).
Color values
| HEX | #B7312A |
|---|---|
| RGB | rgb(183, 49, 42) |
| HSL | hsl(3, 63%, 44%) |
| HSV | hsv(3, 77%, 72%) |
| CMYK | cmyk(0%, 73.2%, 77%, 28.2%) |
| CIE-LAB | lab(41.90, 52.94, 36.34) |
| CIE-LCH | lch(41.90, 64.21, 34.47°) |
| OKLab | oklab(51.95% 0.1521 0.0803) |
| OKLCH | oklch(51.95% 0.172 27.8) |
| XYZ | xyz(21.0471, 12.4343, 3.4819) |
| Luminance | 0.1243 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.61
Scarlet
#BE0119
ΔE00 3.83
Brown
#A52A2A
ΔE00 4.51
Dull Red
#BB3F3F
ΔE00 4.72
Brick
#A03623
ΔE00 5.01
Brownish Red
#9E3623
ΔE00 5.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7312A #2AB0B7
analogous
#B72A6A #B7312A #B7782A
triadic
#B7312A #2AB731 #312AB7
tetradic
#B7312A #6AB72A #2AB0B7 #782AB7
square
#B7312A #6AB72A #2AB0B7 #782AB7
split-complementary
#B7312A #2AB778 #2A6AB7
monochromatic
#531613 #85241F #B7312A #D55049 #E1807B
Accessibility & contrast
On white
6.02
#B7312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B7312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7312A
6.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7312A | 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)
#595028
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#CA0031
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b7312a; /* rgb */ color: rgb(183, 49, 42); /* oklch */ color: oklch(51.9% 0.172 27.8);
Tailwind
colors: {
custom: {
50: '#d57364',
500: '#b7312a',
950: '#000000',
},
}SCSS
$custom: #b7312a; $custom-light: #d57364; $custom-dark: #000000;
JSON
{
"hex": "#b7312a",
"rgb": {
"r": 183,
"g": 49,
"b": 42
},
"hsl": {
"h": 2.979,
"s": 62.667,
"l": 44.118
},
"oklch": {
"l": 0.51949,
"c": 0.17196,
"h": 27.8
},
"luminance": 0.12431
}Semantic roles & 50–950 ramp
primary
#B7312A
secondary
#74C5C9
accent
#DEE642
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A