#B7312E#B7312E

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

Color values

HEX#B7312E
RGBrgb(183, 49, 46)
HSLhsl(1, 60%, 45%)
HSVhsv(1, 75%, 72%)
CMYKcmyk(0%, 73.2%, 74.9%, 28.2%)
CIE-LABlab(41.94, 53.09, 34.10)
CIE-LCHlch(41.94, 63.10, 32.71°)
OKLaboklab(52% 0.1534 0.0765)
OKLCHoklch(52% 0.171 26.5)
XYZxyz(21.1223, 12.4644, 3.8779)
Luminance0.1246 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7312E #2EB4B7
analogous
#B72E6F #B7312E #B7762E
triadic
#B7312E #2EB731 #312EB7
tetradic
#B7312E #6FB72E #2EB4B7 #762EB7
square
#B7312E #6FB72E #2EB4B7 #762EB7
split-complementary
#B7312E #2EB776 #2E6FB7
monochromatic
#551715 #862422 #B7312E #D3524F #DF8280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7312E#FFFFFF#000000##FFFFFF
##B7312E1.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)
#59502C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#C90032
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7312e;
/* rgb */ color: rgb(183, 49, 46);
/* oklch */ color: oklch(52.0% 0.171 26.5);
Tailwind
colors: {
  custom: {
    50: '#d57367',
    500: '#b7312e',
    950: '#000000',
  },
}
SCSS
$custom: #b7312e;
$custom-light: #d57367;
$custom-dark: #000000;
JSON
{
  "hex": "#b7312e",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.314,
    "s": 59.825,
    "l": 44.902
  },
  "oklch": {
    "l": 0.51998,
    "c": 0.17139,
    "h": 26.5
  },
  "luminance": 0.12461
}

Semantic roles & 50–950 ramp

primary
#B7312E
secondary
#79C6C8
accent
#E0E345
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B7312E

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

Preview Lab → · Contrast checker → · Palette generator →

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