#B7312F#B7312F

#B7312F is a mid, vivid red. Relative luminance 0.125; OKLCH L 52.0% C 0.171 H 26.1°. Best body text is #FFFFFF at 6.01:1 contrast (WCAG AA passes).

Color values

HEX#B7312F
RGBrgb(183, 49, 47)
HSLhsl(1, 59%, 45%)
HSVhsv(1, 74%, 72%)
CMYKcmyk(0%, 73.2%, 74.3%, 28.2%)
CIE-LABlab(41.96, 53.14, 33.54)
CIE-LCHlch(41.96, 62.83, 32.26°)
OKLaboklab(52.01% 0.1538 0.0755)
OKLCHoklch(52.01% 0.171 26.1)
XYZxyz(21.1423, 12.4724, 3.9829)
Luminance0.1247 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7312F #2FB5B7
analogous
#B72F71 #B7312F #B7752F
triadic
#B7312F #2FB731 #312FB7
tetradic
#B7312F #71B72F #2FB5B7 #752FB7
square
#B7312F #71B72F #2FB5B7 #752FB7
split-complementary
#B7312F #2FB775 #2F71B7
monochromatic
#561716 #862422 #B7312F #D25351 #DF8382

Accessibility & contrast

On white

6.01
#B7312F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B7312F
6.01:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B7312F#FFFFFF#000000##FFFFFF
##B7312F1.006.013.496.01
#FFFFFF6.011.0021.001.00
#0000003.4921.001.0021.00
##FFFFFF6.011.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502D
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#C90032
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7312f;
/* rgb */ color: rgb(183, 49, 47);
/* oklch */ color: oklch(52.0% 0.171 26.1);
Tailwind
colors: {
  custom: {
    50: '#d57368',
    500: '#b7312f',
    950: '#000000',
  },
}
SCSS
$custom: #b7312f;
$custom-light: #d57368;
$custom-dark: #000000;
JSON
{
  "hex": "#b7312f",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.882,
    "s": 59.13,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52012,
    "c": 0.17127,
    "h": 26.1
  },
  "luminance": 0.12469
}

Semantic roles & 50–950 ramp

primary
#B7312F
secondary
#7AC7C8
accent
#E0E245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B7312F

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

Preview Lab → · Contrast checker → · Palette generator →

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