#B9312A#B9312A

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

Color values

HEX#B9312A
RGBrgb(185, 49, 42)
HSLhsl(3, 63%, 45%)
HSVhsv(3, 77%, 73%)
CMYKcmyk(0%, 73.5%, 77.3%, 27.5%)
CIE-LABlab(42.28, 53.57, 36.86)
CIE-LCHlch(42.28, 65.03, 34.53°)
OKLaboklab(52.3% 0.1538 0.0813)
OKLCHoklch(52.3% 0.174 27.9)
XYZxyz(21.5263, 12.6814, 3.5043)
Luminance0.1268 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9312A #2AB2B9
analogous
#B92A6B #B9312A #B9792A
triadic
#B9312A #2AB931 #312AB9
tetradic
#B9312A #6BB92A #2AB2B9 #792AB9
square
#B9312A #6BB92A #2AB2B9 #792AB9
split-complementary
#B9312A #2AB979 #2A6BB9
monochromatic
#551713 #87241F #B9312A #D6514A #E1817C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B9312A#FFFFFF#000000##FFFFFF
##B9312A1.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)
#5A5128
Deuteranopia (green-blind)
#7B6F24
Tritanopia (blue-blind)
#CC0031
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9312a;
/* rgb */ color: rgb(185, 49, 42);
/* oklch */ color: oklch(52.3% 0.174 27.9);
Tailwind
colors: {
  custom: {
    50: '#d77364',
    500: '#b9312a',
    950: '#000000',
  },
}
SCSS
$custom: #b9312a;
$custom-light: #d77364;
$custom-dark: #000000;
JSON
{
  "hex": "#b9312a",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 2.937,
    "s": 62.996,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52302,
    "c": 0.17397,
    "h": 27.9
  },
  "luminance": 0.12678
}

Semantic roles & 50–950 ramp

primary
#B9312A
secondary
#75C5CA
accent
#DEE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B9312A

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

Preview Lab → · Contrast checker → · Palette generator →

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