#B7312B#B7312B

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

Color values

HEX#B7312B
RGBrgb(183, 49, 43)
HSLhsl(3, 62%, 44%)
HSVhsv(3, 77%, 72%)
CMYKcmyk(0%, 73.2%, 76.5%, 28.2%)
CIE-LABlab(41.91, 52.97, 35.79)
CIE-LCHlch(41.91, 63.93, 34.04°)
OKLaboklab(51.96% 0.1524 0.0794)
OKLCHoklch(51.96% 0.172 27.5)
XYZxyz(21.0652, 12.4416, 3.5773)
Luminance0.1244 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7312B #2BB1B7
analogous
#B72B6B #B7312B #B7772B
triadic
#B7312B #2BB731 #312BB7
tetradic
#B7312B #6BB72B #2BB1B7 #772BB7
square
#B7312B #6BB72B #2BB1B7 #772BB7
split-complementary
#B7312B #2BB777 #2B6BB7
monochromatic
#541614 #85241F #B7312B #D5514B #E0807C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7312B#FFFFFF#000000##FFFFFF
##B7312B1.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)
#595029
Deuteranopia (green-blind)
#7A6E26
Tritanopia (blue-blind)
#CA0031
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7312b;
/* rgb */ color: rgb(183, 49, 43);
/* oklch */ color: oklch(52.0% 0.172 27.5);
Tailwind
colors: {
  custom: {
    50: '#d57365',
    500: '#b7312b',
    950: '#000000',
  },
}
SCSS
$custom: #b7312b;
$custom-light: #d57365;
$custom-dark: #000000;
JSON
{
  "hex": "#b7312b",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.571,
    "s": 61.947,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51961,
    "c": 0.17182,
    "h": 27.5
  },
  "luminance": 0.12438
}

Semantic roles & 50–950 ramp

primary
#B7312B
secondary
#75C5C9
accent
#DEE543
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B7312B

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

Preview Lab → · Contrast checker → · Palette generator →

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