#B9312B#B9312B

#B9312B is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.3% C 0.174 H 27.5°. Best body text is #FFFFFF at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#B9312B
RGBrgb(185, 49, 43)
HSLhsl(3, 62%, 45%)
HSVhsv(3, 77%, 73%)
CMYKcmyk(0%, 73.5%, 76.8%, 27.5%)
CIE-LABlab(42.29, 53.61, 36.31)
CIE-LCHlch(42.29, 64.75, 34.11°)
OKLaboklab(52.31% 0.1542 0.0804)
OKLCHoklch(52.31% 0.174 27.5)
XYZxyz(21.5445, 12.6887, 3.5998)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9312B #2BB3B9
analogous
#B92B6C #B9312B #B9782B
triadic
#B9312B #2BB931 #312BB9
tetradic
#B9312B #6CB92B #2BB3B9 #782BB9
square
#B9312B #6CB92B #2BB3B9 #782BB9
split-complementary
#B9312B #2BB978 #2B6CB9
monochromatic
#561714 #87241F #B9312B #D5524C #E1827E

Accessibility & contrast

On white

5.94
#B9312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B9312B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9312B
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9312B#FFFFFF#000000##FFFFFF
##B9312B1.005.943.545.94
#FFFFFF5.941.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#5A5129
Deuteranopia (green-blind)
#7B6F26
Tritanopia (blue-blind)
#CC0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9312b;
/* rgb */ color: rgb(185, 49, 43);
/* oklch */ color: oklch(52.3% 0.174 27.5);
Tailwind
colors: {
  custom: {
    50: '#d77365',
    500: '#b9312b',
    950: '#000000',
  },
}
SCSS
$custom: #b9312b;
$custom-light: #d77365;
$custom-dark: #000000;
JSON
{
  "hex": "#b9312b",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.535,
    "s": 62.281,
    "l": 44.706
  },
  "oklch": {
    "l": 0.52314,
    "c": 0.17383,
    "h": 27.5
  },
  "luminance": 0.12685
}

Semantic roles & 50–950 ramp

primary
#B9312B
secondary
#76C6C9
accent
#DEE542
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B9312B

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

Preview Lab → · Contrast checker → · Palette generator →

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