#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
RGBrgb(187, 49, 26)
HSLhsl(9, 76%, 42%)
HSVhsv(9, 86%, 73%)
CMYKcmyk(0%, 73.8%, 86.1%, 26.7%)
CIE-LABlab(42.52, 53.73, 45.54)
CIE-LCHlch(42.52, 70.43, 40.29°)
OKLaboklab(52.51% 0.1511 0.0946)
OKLCHoklch(52.51% 0.178 32)
XYZxyz(21.7809, 12.8395, 2.3085)
Luminance0.1284 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##BB311A1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.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

Preview Lab

Preview with #BB311A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#BB311A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva