#B8312B#B8312B
#B8312B is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.173 H 27.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B8312B |
|---|---|
| RGB | rgb(184, 49, 43) |
| HSL | hsl(3, 62%, 45%) |
| HSV | hsv(3, 77%, 72%) |
| CMYK | cmyk(0%, 73.4%, 76.6%, 27.8%) |
| CIE-LAB | lab(42.10, 53.29, 36.05) |
| CIE-LCH | lch(42.10, 64.34, 34.08°) |
| OKLab | oklab(52.14% 0.1533 0.0799) |
| OKLCH | oklch(52.14% 0.173 27.5) |
| XYZ | xyz(21.3040, 12.5647, 3.5885) |
| Luminance | 0.1256 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.76
Scarlet
#BE0119
ΔE00 3.90
Dull Red
#BB3F3F
ΔE00 4.45
Brown
#A52A2A
ΔE00 4.59
Brick
#A03623
ΔE00 5.29
Reddish
#C44240
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8312B #2BB2B8
analogous
#B82B6C #B8312B #B8782B
triadic
#B8312B #2BB831 #312BB8
tetradic
#B8312B #6CB82B #2BB2B8 #782BB8
square
#B8312B #6CB82B #2BB2B8 #782BB8
split-complementary
#B8312B #2BB878 #2B6CB8
monochromatic
#551714 #86241F #B8312B #D5514B #E1817D
Accessibility & contrast
On white
5.98
#B8312B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B8312B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8312B
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8312B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8312B | 1.00 | 5.98 | 3.51 | 5.98 |
| #FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.51 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595129
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#CB0031
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b8312b; /* rgb */ color: rgb(184, 49, 43); /* oklch */ color: oklch(52.1% 0.173 27.5);
Tailwind
colors: {
custom: {
50: '#d67365',
500: '#b8312b',
950: '#000000',
},
}SCSS
$custom: #b8312b; $custom-light: #d67365; $custom-dark: #000000;
JSON
{
"hex": "#b8312b",
"rgb": {
"r": 184,
"g": 49,
"b": 43
},
"hsl": {
"h": 2.553,
"s": 62.115,
"l": 44.51
},
"oklch": {
"l": 0.52137,
"c": 0.17283,
"h": 27.5
},
"luminance": 0.12561
}Semantic roles & 50–950 ramp
primary
#B8312B
secondary
#76C5C9
accent
#DEE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A