#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
RGBrgb(187, 49, 42)
HSLhsl(3, 63%, 45%)
HSVhsv(3, 78%, 73%)
CMYKcmyk(0%, 73.8%, 77.5%, 26.7%)
CIE-LABlab(42.66, 54.20, 37.38)
CIE-LCHlch(42.66, 65.85, 34.59°)
OKLaboklab(52.65% 0.1556 0.0823)
OKLCHoklch(52.65% 0.176 27.9)
XYZxyz(22.0123, 12.9320, 3.5271)
Luminance0.1293 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

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
##BB312A1.005.863.595.86
#FFFFFF5.861.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.861.0021.001.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

Preview Lab

Preview with #BB312A

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

Preview Lab → · Contrast checker → · Palette generator →

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