#B7312F#B7312F
#B7312F is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.0% C 0.171 H 26.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).
Color values
| HEX | #B7312F |
|---|---|
| RGB | rgb(183, 49, 47) |
| HSL | hsl(1, 59%, 45%) |
| HSV | hsv(1, 74%, 72%) |
| CMYK | cmyk(0%, 73.2%, 74.3%, 28.2%) |
| CIE-LAB | lab(41.96, 53.14, 33.54) |
| CIE-LCH | lch(41.96, 62.83, 32.26°) |
| OKLab | oklab(52.01% 0.1538 0.0755) |
| OKLCH | oklch(52.01% 0.171 26.1) |
| XYZ | xyz(21.1423, 12.4724, 3.9829) |
| Luminance | 0.1247 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.98
Dull Red
#BB3F3F
ΔE00 3.68
Brown
#A52A2A
ΔE00 4.09
Scarlet
#BE0119
ΔE00 4.38
Lipstick Red
#C0022F
ΔE00 4.84
Reddish
#C44240
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B7312F #2FB5B7
analogous
#B72F71 #B7312F #B7752F
triadic
#B7312F #2FB731 #312FB7
tetradic
#B7312F #71B72F #2FB5B7 #752FB7
square
#B7312F #71B72F #2FB5B7 #752FB7
split-complementary
#B7312F #2FB775 #2F71B7
monochromatic
#561716 #862422 #B7312F #D25351 #DF8382
Accessibility & contrast
On white
6.01
#B7312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.49
#B7312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B7312F
6.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B7312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B7312F | 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)
#58502D
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#C90032
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b7312f; /* rgb */ color: rgb(183, 49, 47); /* oklch */ color: oklch(52.0% 0.171 26.1);
Tailwind
colors: {
custom: {
50: '#d57368',
500: '#b7312f',
950: '#000000',
},
}SCSS
$custom: #b7312f; $custom-light: #d57368; $custom-dark: #000000;
JSON
{
"hex": "#b7312f",
"rgb": {
"r": 183,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.882,
"s": 59.13,
"l": 45.098
},
"oklch": {
"l": 0.52012,
"c": 0.17127,
"h": 26.1
},
"luminance": 0.12469
}Semantic roles & 50–950 ramp
primary
#B7312F
secondary
#7AC7C8
accent
#E0E245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A