#B8312E#B8312E
#B8312E is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.172 H 26.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B8312E |
|---|---|
| RGB | rgb(184, 49, 46) |
| HSL | hsl(1, 60%, 45%) |
| HSV | hsv(1, 75%, 72%) |
| CMYK | cmyk(0%, 73.4%, 75%, 27.8%) |
| CIE-LAB | lab(42.13, 53.41, 34.37) |
| CIE-LCH | lch(42.13, 63.51, 32.76°) |
| OKLab | oklab(52.18% 0.1543 0.077) |
| OKLCH | oklch(52.18% 0.172 26.5) |
| XYZ | xyz(21.3611, 12.5875, 3.8891) |
| Luminance | 0.1258 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.96
Dull Red
#BB3F3F
ΔE00 3.81
Scarlet
#BE0119
ΔE00 4.22
Brown
#A52A2A
ΔE00 4.34
Reddish
#C44240
ΔE00 4.93
Lipstick Red
#C0022F
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8312E #2EB5B8
analogous
#B82E70 #B8312E #B8762E
triadic
#B8312E #2EB831 #312EB8
tetradic
#B8312E #70B82E #2EB5B8 #762EB8
square
#B8312E #70B82E #2EB5B8 #762EB8
split-complementary
#B8312E #2EB876 #2E70B8
monochromatic
#561716 #872422 #B8312E #D35350 #DF8381
Accessibility & contrast
On white
5.97
#B8312E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B8312E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8312E
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8312E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8312E | 1.00 | 5.97 | 3.52 | 5.97 |
| #FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.97 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#CB0032
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b8312e; /* rgb */ color: rgb(184, 49, 46); /* oklch */ color: oklch(52.2% 0.172 26.5);
Tailwind
colors: {
custom: {
50: '#d67367',
500: '#b8312e',
950: '#000000',
},
}SCSS
$custom: #b8312e; $custom-light: #d67367; $custom-dark: #000000;
JSON
{
"hex": "#b8312e",
"rgb": {
"r": 184,
"g": 49,
"b": 46
},
"hsl": {
"h": 1.304,
"s": 60,
"l": 45.098
},
"oklch": {
"l": 0.52175,
"c": 0.17241,
"h": 26.5
},
"luminance": 0.12584
}Semantic roles & 50–950 ramp
primary
#B8312E
secondary
#79C7C8
accent
#E0E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A