#B7312E#B7312E
#B7312E is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.0% C 0.171 H 26.5°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B7312E |
|---|---|
| RGB | rgb(183, 49, 46) |
| HSL | hsl(1, 60%, 45%) |
| HSV | hsv(1, 75%, 72%) |
| CMYK | cmyk(0%, 73.2%, 74.9%, 28.2%) |
| CIE-LAB | lab(41.94, 53.09, 34.10) |
| CIE-LCH | lch(41.94, 63.10, 32.71°) |
| OKLab | oklab(52% 0.1534 0.0765) |
| OKLCH | oklch(52% 0.171 26.5) |
| XYZ | xyz(21.1223, 12.4644, 3.8779) |
| Luminance | 0.1246 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.85
Dull Red
#BB3F3F
ΔE00 3.87
Brown
#A52A2A
ΔE00 4.14
Scarlet
#BE0119
ΔE00 4.23
Lipstick Red
#C0022F
ΔE00 5.06
Reddish
#C44240
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7312E #2EB4B7
analogous
#B72E6F #B7312E #B7762E
triadic
#B7312E #2EB731 #312EB7
tetradic
#B7312E #6FB72E #2EB4B7 #762EB7
square
#B7312E #6FB72E #2EB4B7 #762EB7
split-complementary
#B7312E #2EB776 #2E6FB7
monochromatic
#551715 #862422 #B7312E #D3524F #DF8280
Accessibility & contrast
On white
6.01
#B7312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B7312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7312E
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7312E | 1.00 | 6.01 | 3.49 | 6.01 |
| #FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59502C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#C90032
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b7312e; /* rgb */ color: rgb(183, 49, 46); /* oklch */ color: oklch(52.0% 0.171 26.5);
Tailwind
colors: {
custom: {
50: '#d57367',
500: '#b7312e',
950: '#000000',
},
}SCSS
$custom: #b7312e; $custom-light: #d57367; $custom-dark: #000000;
JSON
{
"hex": "#b7312e",
"rgb": {
"r": 183,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.314,
"s": 59.825,
"l": 44.902
},
"oklch": {
"l": 0.51998,
"c": 0.17139,
"h": 26.5
},
"luminance": 0.12461
}Semantic roles & 50–950 ramp
primary
#B7312E
secondary
#79C6C8
accent
#E0E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A