#B8312A#B8312A
#B8312A is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.173 H 27.8°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).
Color values
| HEX | #B8312A |
|---|---|
| RGB | rgb(184, 49, 42) |
| HSL | hsl(3, 63%, 44%) |
| HSV | hsv(3, 77%, 72%) |
| CMYK | cmyk(0%, 73.4%, 77.2%, 27.8%) |
| CIE-LAB | lab(42.09, 53.25, 36.60) |
| CIE-LCH | lch(42.09, 64.62, 34.50°) |
| OKLab | oklab(52.13% 0.1529 0.0808) |
| OKLCH | oklch(52.13% 0.173 27.8) |
| XYZ | xyz(21.2859, 12.5574, 3.4931) |
| Luminance | 0.1255 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 2.75
Scarlet
#BE0119
ΔE00 3.84
Dull Red
#BB3F3F
ΔE00 4.68
Brown
#A52A2A
ΔE00 4.71
Brick
#A03623
ΔE00 5.17
Reddish
#C44240
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#B8312A #2AB1B8
analogous
#B82A6A #B8312A #B8782A
triadic
#B8312A #2AB831 #312AB8
tetradic
#B8312A #6AB82A #2AB1B8 #782AB8
square
#B8312A #6AB82A #2AB1B8 #782AB8
split-complementary
#B8312A #2AB878 #2A6AB8
monochromatic
#541613 #86241F #B8312A #D6514A #E1807B
Accessibility & contrast
On white
5.98
#B8312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.51
#B8312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #B8312A
5.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##B8312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##B8312A | 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)
#595128
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CB0031
Achromatopsia (no color)
#636363
Design tokens & code
CSS
--color: #b8312a; /* rgb */ color: rgb(184, 49, 42); /* oklch */ color: oklch(52.1% 0.173 27.8);
Tailwind
colors: {
custom: {
50: '#d67364',
500: '#b8312a',
950: '#000000',
},
}SCSS
$custom: #b8312a; $custom-light: #d67364; $custom-dark: #000000;
JSON
{
"hex": "#b8312a",
"rgb": {
"r": 184,
"g": 49,
"b": 42
},
"hsl": {
"h": 2.958,
"s": 62.832,
"l": 44.314
},
"oklch": {
"l": 0.52125,
"c": 0.17297,
"h": 27.8
},
"luminance": 0.12554
}Semantic roles & 50–950 ramp
primary
#B8312A
secondary
#75C5C9
accent
#DEE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A