#B7312A#B7312A

#B7312A is a mid, vivid red. Relative luminance 0.124; OKLCH L 51.9% C 0.172 H 27.8°. Best body text is #FFFFFF at 6.02:1 contrast (WCAG AA passes).

Color values

HEX#B7312A
RGBrgb(183, 49, 42)
HSLhsl(3, 63%, 44%)
HSVhsv(3, 77%, 72%)
CMYKcmyk(0%, 73.2%, 77%, 28.2%)
CIE-LABlab(41.90, 52.94, 36.34)
CIE-LCHlch(41.90, 64.21, 34.47°)
OKLaboklab(51.95% 0.1521 0.0803)
OKLCHoklch(51.95% 0.172 27.8)
XYZxyz(21.0471, 12.4343, 3.4819)
Luminance0.1243 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7312A #2AB0B7
analogous
#B72A6A #B7312A #B7782A
triadic
#B7312A #2AB731 #312AB7
tetradic
#B7312A #6AB72A #2AB0B7 #782AB7
square
#B7312A #6AB72A #2AB0B7 #782AB7
split-complementary
#B7312A #2AB778 #2A6AB7
monochromatic
#531613 #85241F #B7312A #D55049 #E1807B

Accessibility & contrast

On white

6.02
#B7312A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.49
#B7312A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B7312A
6.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7312A#FFFFFF#000000##FFFFFF
##B7312A1.006.023.496.02
#FFFFFF6.021.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595028
Deuteranopia (green-blind)
#7A6D25
Tritanopia (blue-blind)
#CA0031
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7312a;
/* rgb */ color: rgb(183, 49, 42);
/* oklch */ color: oklch(51.9% 0.172 27.8);
Tailwind
colors: {
  custom: {
    50: '#d57364',
    500: '#b7312a',
    950: '#000000',
  },
}
SCSS
$custom: #b7312a;
$custom-light: #d57364;
$custom-dark: #000000;
JSON
{
  "hex": "#b7312a",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 2.979,
    "s": 62.667,
    "l": 44.118
  },
  "oklch": {
    "l": 0.51949,
    "c": 0.17196,
    "h": 27.8
  },
  "luminance": 0.12431
}

Semantic roles & 50–950 ramp

primary
#B7312A
secondary
#74C5C9
accent
#DEE642
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B7312A

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

Preview Lab → · Contrast checker → · Palette generator →

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