#B8312F#B8312F
#B8312F is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.172 H 26.2°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).
Color values
| HEX | #B8312F |
|---|---|
| RGB | rgb(184, 49, 47) |
| HSL | hsl(1, 59%, 45%) |
| HSV | hsv(1, 74%, 72%) |
| CMYK | cmyk(0%, 73.4%, 74.5%, 27.8%) |
| CIE-LAB | lab(42.15, 53.45, 33.80) |
| CIE-LCH | lch(42.15, 63.24, 32.31°) |
| OKLab | oklab(52.19% 0.1546 0.076) |
| OKLCH | oklch(52.19% 0.172 26.2) |
| XYZ | xyz(21.3810, 12.5955, 3.9941) |
| Luminance | 0.1259 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.08
Dull Red
#BB3F3F
ΔE00 3.62
Brown
#A52A2A
ΔE00 4.29
Scarlet
#BE0119
ΔE00 4.36
Reddish
#C44240
ΔE00 4.82
Lipstick Red
#C0022F
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8312F #2FB6B8
analogous
#B82F71 #B8312F #B8752F
triadic
#B8312F #2FB831 #312FB8
tetradic
#B8312F #71B82F #2FB6B8 #752FB8
square
#B8312F #71B82F #2FB6B8 #752FB8
split-complementary
#B8312F #2FB875 #2F71B8
monochromatic
#571716 #872423 #B8312F #D35352 #DF8482
Accessibility & contrast
On white
5.97
#B8312F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.52
#B8312F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8312F
5.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8312F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8312F | 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)
#59512D
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#CB0032
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b8312f; /* rgb */ color: rgb(184, 49, 47); /* oklch */ color: oklch(52.2% 0.172 26.2);
Tailwind
colors: {
custom: {
50: '#d67368',
500: '#b8312f',
950: '#000000',
},
}SCSS
$custom: #b8312f; $custom-light: #d67368; $custom-dark: #000000;
JSON
{
"hex": "#b8312f",
"rgb": {
"r": 184,
"g": 49,
"b": 47
},
"hsl": {
"h": 0.876,
"s": 59.307,
"l": 45.294
},
"oklch": {
"l": 0.52188,
"c": 0.17228,
"h": 26.2
},
"luminance": 0.12592
}Semantic roles & 50–950 ramp
primary
#B8312F
secondary
#7BC7C8
accent
#E0E245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A