#BB312A#BB312A
#BB312A is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.176 H 27.9°. Best body text is #FFFFFF at 5.86:1 contrast (WCAG AA passes).
Color values
| HEX | #BB312A |
|---|---|
| RGB | rgb(187, 49, 42) |
| HSL | hsl(3, 63%, 45%) |
| HSV | hsv(3, 78%, 73%) |
| CMYK | cmyk(0%, 73.8%, 77.5%, 26.7%) |
| CIE-LAB | lab(42.66, 54.20, 37.38) |
| CIE-LCH | lch(42.66, 65.85, 34.59°) |
| OKLab | oklab(52.65% 0.1556 0.0823) |
| OKLCH | oklch(52.65% 0.176 27.9) |
| XYZ | xyz(22.0123, 12.9320, 3.5271) |
| Luminance | 0.1293 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Firebrick
#B22222
ΔE00 3.21
Scarlet
#BE0119
ΔE00 3.93
Dull Red
#BB3F3F
ΔE00 4.61
Reddish
#C44240
ΔE00 5.18
Brown
#A52A2A
ΔE00 5.29
Brick
#A03623
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB312A #2AB4BB
analogous
#BB2A6B #BB312A #BB7A2A
triadic
#BB312A #2ABB31 #312ABB
tetradic
#BB312A #6BBB2A #2AB4BB #7A2ABB
square
#BB312A #6BBB2A #2AB4BB #7A2ABB
split-complementary
#BB312A #2ABB7A #2A6BBB
monochromatic
#571714 #89241F #BB312A #D7524C #E2827D
Accessibility & contrast
On white
5.86
#BB312A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.59
#BB312A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB312A
5.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB312A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB312A | 1.00 | 5.86 | 3.59 | 5.86 |
| #FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.59 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5A5228
Deuteranopia (green-blind)
#7D7024
Tritanopia (blue-blind)
#CE0031
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #bb312a; /* rgb */ color: rgb(187, 49, 42); /* oklch */ color: oklch(52.7% 0.176 27.9);
Tailwind
colors: {
custom: {
50: '#d87364',
500: '#bb312a',
950: '#000000',
},
}SCSS
$custom: #bb312a; $custom-light: #d87364; $custom-dark: #000000;
JSON
{
"hex": "#bb312a",
"rgb": {
"r": 187,
"g": 49,
"b": 42
},
"hsl": {
"h": 2.897,
"s": 63.319,
"l": 44.902
},
"oklch": {
"l": 0.52655,
"c": 0.17599,
"h": 27.9
},
"luminance": 0.12929
}Semantic roles & 50–950 ramp
primary
#BB312A
secondary
#76C6CA
accent
#DEE641
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A