#BB313A#BB313A
#BB313A is a mid, vivid red. Relative luminance 0.131; OKLCH L 52.9% C 0.174 H 22.2°. Best body text is #FFFFFF at 5.81:1 contrast (WCAG AA passes).
Color values
| HEX | #BB313A |
|---|---|
| RGB | rgb(187, 49, 58) |
| HSL | hsl(356, 58%, 46%) |
| HSV | hsv(356, 74%, 73%) |
| CMYK | cmyk(0%, 73.8%, 69%, 26.7%) |
| CIE-LAB | lab(42.87, 54.91, 28.26) |
| CIE-LCH | lch(42.87, 61.75, 27.23°) |
| OKLab | oklab(52.88% 0.1612 0.0658) |
| OKLCH | oklch(52.88% 0.174 22.2) |
| XYZ | xyz(22.3580, 13.0703, 5.3477) |
| Luminance | 0.1307 (WCAG relative) |
| Temperature | warm |
| Family | red |
Closest named colors
Cardinal
#C41E3A
ΔE00 2.56
Dull Red
#BB3F3F
ΔE00 2.57
Lipstick Red
#C0022F
ΔE00 3.64
Cherry (survey)
#CF0234
ΔE00 3.85
Reddish
#C44240
ΔE00 4.33
Dusty Red
#B9484E
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#BB313A #31BBB2
analogous
#BB317F #BB313A #BB6D31
triadic
#BB313A #3ABB31 #313ABB
tetradic
#BB313A #7FBB31 #31BBB2 #6D31BB
square
#BB313A #7FBB31 #31BBB2 #6D31BB
split-complementary
#BB313A #31BB6D #317FBB
monochromatic
#5A181C #8B242B #BB313A #D3565E #E0878D
Accessibility & contrast
On white
5.81
#BB313A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.61
#BB313A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #BB313A
5.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##BB313A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##BB313A | 1.00 | 5.81 | 3.61 | 5.81 |
| #FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#595239
Deuteranopia (green-blind)
#7B7036
Tritanopia (blue-blind)
#CE0036
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #bb313a; /* rgb */ color: rgb(187, 49, 58); /* oklch */ color: oklch(52.9% 0.174 22.2);
Tailwind
colors: {
custom: {
50: '#d77470',
500: '#bb313a',
950: '#000000',
},
}SCSS
$custom: #bb313a; $custom-light: #d77470; $custom-dark: #000000;
JSON
{
"hex": "#bb313a",
"rgb": {
"r": 187,
"g": 49,
"b": 58
},
"hsl": {
"h": 356.087,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.52877,
"c": 0.17411,
"h": 22.2
},
"luminance": 0.13067
}Semantic roles & 50–950 ramp
primary
#BB313A
secondary
#7FC9C4
accent
#E2D846
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A