#B9312D#B9312D

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

Color values

HEX#B9312D
RGBrgb(185, 49, 45)
HSLhsl(2, 61%, 45%)
HSVhsv(2, 76%, 73%)
CMYKcmyk(0%, 73.5%, 75.7%, 27.5%)
CIE-LABlab(42.31, 53.69, 35.19)
CIE-LCHlch(42.31, 64.19, 33.25°)
OKLaboklab(52.34% 0.1548 0.0785)
OKLCHoklch(52.34% 0.174 26.9)
XYZxyz(21.5820, 12.7037, 3.7978)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9312D #2DB5B9
analogous
#B92D6F #B9312D #B9772D
triadic
#B9312D #2DB931 #312DB9
tetradic
#B9312D #6FB92D #2DB5B9 #772DB9
square
#B9312D #6FB92D #2DB5B9 #772DB9
split-complementary
#B9312D #2DB977 #2D6FB9
monochromatic
#571715 #882421 #B9312D #D4534F #E08380

Accessibility & contrast

On white

5.93
#B9312D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9312D
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9312D#FFFFFF#000000##FFFFFF
##B9312D1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512B
Deuteranopia (green-blind)
#7B6F28
Tritanopia (blue-blind)
#CC0032
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9312d;
/* rgb */ color: rgb(185, 49, 45);
/* oklch */ color: oklch(52.3% 0.174 26.9);
Tailwind
colors: {
  custom: {
    50: '#d77366',
    500: '#b9312d',
    950: '#000000',
  },
}
SCSS
$custom: #b9312d;
$custom-light: #d77366;
$custom-dark: #000000;
JSON
{
  "hex": "#b9312d",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.714,
    "s": 60.87,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52338,
    "c": 0.17356,
    "h": 26.9
  },
  "luminance": 0.127
}

Semantic roles & 50–950 ramp

primary
#B9312D
secondary
#79C7C9
accent
#DFE444
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B9312D

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

Preview Lab → · Contrast checker → · Palette generator →

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