#BB312C#BB312C

#BB312C is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.7% C 0.176 H 27.2°. Best body text is #FFFFFF at 5.85:1 contrast (WCAG AA passes).

Color values

HEX#BB312C
RGBrgb(187, 49, 44)
HSLhsl(2, 62%, 45%)
HSVhsv(2, 76%, 73%)
CMYKcmyk(0%, 73.8%, 76.5%, 26.7%)
CIE-LABlab(42.68, 54.28, 36.28)
CIE-LCHlch(42.68, 65.29, 33.76°)
OKLaboklab(52.68% 0.1562 0.0804)
OKLCHoklch(52.68% 0.176 27.2)
XYZxyz(22.0490, 12.9467, 3.7204)
Luminance0.1294 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB312C #2CB6BB
analogous
#BB2C6E #BB312C #BB782C
triadic
#BB312C #2CBB31 #312CBB
tetradic
#BB312C #6EBB2C #2CB6BB #782CBB
square
#BB312C #6EBB2C #2CB6BB #782CBB
split-complementary
#BB312C #2CBB78 #2C6EBB
monochromatic
#581715 #892420 #BB312C #D6534F #E18480

Accessibility & contrast

On white

5.85
#BB312C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.59
#BB312C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #BB312C
5.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##BB312C#FFFFFF#000000##FFFFFF
##BB312C1.005.853.595.85
#FFFFFF5.851.0021.001.00
#0000003.5921.001.0021.00
##FFFFFF5.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A522A
Deuteranopia (green-blind)
#7C7027
Tritanopia (blue-blind)
#CE0031
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb312c;
/* rgb */ color: rgb(187, 49, 44);
/* oklch */ color: oklch(52.7% 0.176 27.2);
Tailwind
colors: {
  custom: {
    50: '#d87466',
    500: '#bb312c',
    950: '#000000',
  },
}
SCSS
$custom: #bb312c;
$custom-light: #d87466;
$custom-dark: #000000;
JSON
{
  "hex": "#bb312c",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 2.098,
    "s": 61.905,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52679,
    "c": 0.17571,
    "h": 27.2
  },
  "luminance": 0.12943
}

Semantic roles & 50–950 ramp

primary
#BB312C
secondary
#79C7CA
accent
#DFE543
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BB312C

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

Preview Lab → · Contrast checker → · Palette generator →

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