#BB311F#BB311F

#BB311F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.5% C 0.178 H 30.9°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#BB311F
RGBrgb(187, 49, 31)
HSLhsl(7, 72%, 43%)
HSVhsv(7, 83%, 73%)
CMYKcmyk(0%, 73.8%, 83.4%, 26.7%)
CIE-LABlab(42.56, 53.86, 43.15)
CIE-LCHlch(42.56, 69.01, 38.71°)
OKLaboklab(52.55% 0.1524 0.0912)
OKLCHoklch(52.55% 0.178 30.9)
XYZxyz(21.8418, 12.8638, 2.6290)
Luminance0.1286 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB311F #1FA9BB
analogous
#BB1F5B #BB311F #BB7F1F
triadic
#BB311F #1FBB31 #311FBB
tetradic
#BB311F #5BBB1F #1FA9BB #7F1FBB
square
#BB311F #5BBB1F #1FA9BB #7F1FBB
split-complementary
#BB311F #1FBB7F #1F5BBB
monochromatic
#52150E #872316 #BB311F #DE4C39 #E77C6E

Accessibility & contrast

On white

5.88
#BB311F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.57
#BB311F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB311F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB311F#FFFFFF#000000##FFFFFF
##BB311F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5B511B
Deuteranopia (green-blind)
#7D6F17
Tritanopia (blue-blind)
#CE002E
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #bb311f;
/* rgb */ color: rgb(187, 49, 31);
/* oklch */ color: oklch(52.5% 0.178 30.9);
Tailwind
colors: {
  custom: {
    50: '#d9735d',
    500: '#bb311f',
    950: '#000000',
  },
}
SCSS
$custom: #bb311f;
$custom-light: #d9735d;
$custom-dark: #000000;
JSON
{
  "hex": "#bb311f",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 31
  },
  "hsl": {
    "h": 6.923,
    "s": 71.56,
    "l": 42.745
  },
  "oklch": {
    "l": 0.52546,
    "c": 0.17758,
    "h": 30.9
  },
  "luminance": 0.1286
}

Semantic roles & 50–950 ramp

primary
#BB311F
secondary
#69C1CD
accent
#D9EE3A
background
#FEF7F5
surface
#FDEDE9
border
#D5C8C5
text
#170904
muted
#857B79

Preview Lab

Preview with #BB311F

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

Preview Lab → · Contrast checker → · Palette generator →

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