#BB312D#BB312D

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

Color values

HEX#BB312D
RGBrgb(187, 49, 45)
HSLhsl(2, 61%, 45%)
HSVhsv(2, 76%, 73%)
CMYKcmyk(0%, 73.8%, 75.9%, 26.7%)
CIE-LABlab(42.69, 54.32, 35.72)
CIE-LCHlch(42.69, 65.01, 33.33°)
OKLaboklab(52.69% 0.1566 0.0795)
OKLCHoklch(52.69% 0.176 26.9)
XYZxyz(22.0680, 12.9543, 3.8206)
Luminance0.1295 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#BB312D #2DB7BB
analogous
#BB2D70 #BB312D #BB782D
triadic
#BB312D #2DBB31 #312DBB
tetradic
#BB312D #70BB2D #2DB7BB #782DBB
square
#BB312D #70BB2D #2DB7BB #782DBB
split-complementary
#BB312D #2DBB78 #2D70BB
monochromatic
#581715 #8A2421 #BB312D #D55450 #E18482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##BB312D#FFFFFF#000000##FFFFFF
##BB312D1.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)
#5A522B
Deuteranopia (green-blind)
#7C7028
Tritanopia (blue-blind)
#CE0032
Achromatopsia (no color)
#656565

Design tokens & code

CSS
--color: #bb312d;
/* rgb */ color: rgb(187, 49, 45);
/* oklch */ color: oklch(52.7% 0.176 26.9);
Tailwind
colors: {
  custom: {
    50: '#d87466',
    500: '#bb312d',
    950: '#000000',
  },
}
SCSS
$custom: #bb312d;
$custom-light: #d87466;
$custom-dark: #000000;
JSON
{
  "hex": "#bb312d",
  "rgb": {
    "r": 187,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.69,
    "s": 61.207,
    "l": 45.49
  },
  "oklch": {
    "l": 0.52691,
    "c": 0.17557,
    "h": 26.9
  },
  "luminance": 0.12951
}

Semantic roles & 50–950 ramp

primary
#BB312D
secondary
#7AC8CA
accent
#E0E443
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #BB312D

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

Preview Lab → · Contrast checker → · Palette generator →

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