#BB311A#BB311A
#BB311A is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.178 H 32.0°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).
Color values
| HEX | #BB311A |
|---|---|
| RGB | rgb(187, 49, 26) |
| HSL | hsl(9, 76%, 42%) |
| HSV | hsv(9, 86%, 73%) |
| CMYK | cmyk(0%, 73.8%, 86.1%, 26.7%) |
| CIE-LAB | lab(42.52, 53.73, 45.54) |
| CIE-LCH | lch(42.52, 70.43, 40.29°) |
| OKLab | oklab(52.51% 0.1511 0.0946) |
| OKLCH | oklch(52.51% 0.178 32) |
| XYZ | xyz(21.7809, 12.8395, 2.3085) |
| Luminance | 0.1284 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Rusty Red
#AF2F0D
ΔE00 3.32
Rust Red
#AA2704
ΔE00 4.80
Scarlet
#BE0119
ΔE00 5.29
Firebrick
#B22222
ΔE00 5.33
Brick
#A03623
ΔE00 5.47
Rust
#B7410E
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB311A #1AA4BB
analogous
#BB1A54 #BB311A #BB811A
triadic
#BB311A #1ABB31 #311ABB
tetradic
#BB311A #54BB1A #1AA4BB #811ABB
square
#BB311A #54BB1A #1AA4BB #811ABB
split-complementary
#BB311A #1ABB81 #1A54BB
monochromatic
#50150B #852313 #BB311A #E24930 #EA7966
Accessibility & contrast
On white
5.89
#BB311A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.57
#BB311A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB311A
5.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB311A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB311A | 1.00 | 5.89 | 3.57 | 5.89 |
| #FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C5115
Deuteranopia (green-blind)
#7D6F11
Tritanopia (blue-blind)
#CE002D
Achromatopsia (no color)
#646464
Design tokens & code
CSS
--color: #bb311a; /* rgb */ color: rgb(187, 49, 26); /* oklch */ color: oklch(52.5% 0.178 32.0);
Tailwind
colors: {
custom: {
50: '#d9735a',
500: '#bb311a',
950: '#000000',
},
}SCSS
$custom: #bb311a; $custom-light: #d9735a; $custom-dark: #000000;
JSON
{
"hex": "#bb311a",
"rgb": {
"r": 187,
"g": 49,
"b": 26
},
"hsl": {
"h": 8.571,
"s": 75.587,
"l": 41.765
},
"oklch": {
"l": 0.52506,
"c": 0.17828,
"h": 32
},
"luminance": 0.12836
}Semantic roles & 50–950 ramp
primary
#BB311A
secondary
#62BFCF
accent
#D7F236
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170904
muted
#857B79