#BB312E#BB312E

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

Color values

HEX#BB312E
RGBrgb(187, 49, 46)
HSLhsl(1, 61%, 46%)
HSVhsv(1, 75%, 73%)
CMYKcmyk(0%, 73.8%, 75.4%, 26.7%)
CIE-LABlab(42.71, 54.36, 35.16)
CIE-LCHlch(42.71, 64.74, 32.90°)
OKLaboklab(52.7% 0.1569 0.0785)
OKLCHoklch(52.7% 0.175 26.6)
XYZxyz(22.0875, 12.9621, 3.9232)
Luminance0.1296 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB312E #2EB8BB
analogous
#BB2E71 #BB312E #BB782E
triadic
#BB312E #2EBB31 #312EBB
tetradic
#BB312E #71BB2E #2EB8BB #782EBB
square
#BB312E #71BB2E #2EB8BB #782EBB
split-complementary
#BB312E #2EBB78 #2E71BB
monochromatic
#591716 #8A2422 #BB312E #D45552 #E08583

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB312E#FFFFFF#000000##FFFFFF
##BB312E1.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)
#5A522C
Deuteranopia (green-blind)
#7C7029
Tritanopia (blue-blind)
#CE0032
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb312e;
/* rgb */ color: rgb(187, 49, 46);
/* oklch */ color: oklch(52.7% 0.175 26.6);
Tailwind
colors: {
  custom: {
    50: '#d87467',
    500: '#bb312e',
    950: '#000000',
  },
}
SCSS
$custom: #bb312e;
$custom-light: #d87467;
$custom-dark: #000000;
JSON
{
  "hex": "#bb312e",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.277,
    "s": 60.515,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52704,
    "c": 0.17544,
    "h": 26.6
  },
  "luminance": 0.12959
}

Semantic roles & 50–950 ramp

primary
#BB312E
secondary
#7BC8CA
accent
#E0E444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BB312E

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

Preview Lab → · Contrast checker → · Palette generator →

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