#B7312C#B7312C

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

Color values

HEX#B7312C
RGBrgb(183, 49, 44)
HSLhsl(2, 61%, 45%)
HSVhsv(2, 76%, 72%)
CMYKcmyk(0%, 73.2%, 76%, 28.2%)
CIE-LABlab(41.92, 53.01, 35.23)
CIE-LCHlch(41.92, 63.65, 33.61°)
OKLaboklab(51.97% 0.1527 0.0784)
OKLCHoklch(51.97% 0.172 27.2)
XYZxyz(21.0838, 12.4490, 3.6751)
Luminance0.1245 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B7312C #2CB2B7
analogous
#B72C6D #B7312C #B7762C
triadic
#B7312C #2CB731 #312CB7
tetradic
#B7312C #6DB72C #2CB2B7 #762CB7
square
#B7312C #6DB72C #2CB2B7 #762CB7
split-complementary
#B7312C #2CB776 #2C6DB7
monochromatic
#541714 #862420 #B7312C #D4514C #E0817E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B7312C#FFFFFF#000000##FFFFFF
##B7312C1.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)
#59502A
Deuteranopia (green-blind)
#7A6E27
Tritanopia (blue-blind)
#CA0031
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b7312c;
/* rgb */ color: rgb(183, 49, 44);
/* oklch */ color: oklch(52.0% 0.172 27.2);
Tailwind
colors: {
  custom: {
    50: '#d57366',
    500: '#b7312c',
    950: '#000000',
  },
}
SCSS
$custom: #b7312c;
$custom-light: #d57366;
$custom-dark: #000000;
JSON
{
  "hex": "#b7312c",
  "rgb": {
    "r": 183,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 2.158,
    "s": 61.233,
    "l": 44.51
  },
  "oklch": {
    "l": 0.51973,
    "c": 0.17167,
    "h": 27.2
  },
  "luminance": 0.12446
}

Semantic roles & 50–950 ramp

primary
#B7312C
secondary
#76C5C8
accent
#DFE443
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B7312C

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

Preview Lab → · Contrast checker → · Palette generator →

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