#B8312B#B8312B

#B8312B is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.1% C 0.173 H 27.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#B8312B
RGBrgb(184, 49, 43)
HSLhsl(3, 62%, 45%)
HSVhsv(3, 77%, 72%)
CMYKcmyk(0%, 73.4%, 76.6%, 27.8%)
CIE-LABlab(42.10, 53.29, 36.05)
CIE-LCHlch(42.10, 64.34, 34.08°)
OKLaboklab(52.14% 0.1533 0.0799)
OKLCHoklch(52.14% 0.173 27.5)
XYZxyz(21.3040, 12.5647, 3.5885)
Luminance0.1256 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8312B #2BB2B8
analogous
#B82B6C #B8312B #B8782B
triadic
#B8312B #2BB831 #312BB8
tetradic
#B8312B #6CB82B #2BB2B8 #782BB8
square
#B8312B #6CB82B #2BB2B8 #782BB8
split-complementary
#B8312B #2BB878 #2B6CB8
monochromatic
#551714 #86241F #B8312B #D5514B #E1817D

Accessibility & contrast

On white

5.98
#B8312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#B8312B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8312B
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8312B#FFFFFF#000000##FFFFFF
##B8312B1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#595129
Deuteranopia (green-blind)
#7B6E26
Tritanopia (blue-blind)
#CB0031
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b8312b;
/* rgb */ color: rgb(184, 49, 43);
/* oklch */ color: oklch(52.1% 0.173 27.5);
Tailwind
colors: {
  custom: {
    50: '#d67365',
    500: '#b8312b',
    950: '#000000',
  },
}
SCSS
$custom: #b8312b;
$custom-light: #d67365;
$custom-dark: #000000;
JSON
{
  "hex": "#b8312b",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.553,
    "s": 62.115,
    "l": 44.51
  },
  "oklch": {
    "l": 0.52137,
    "c": 0.17283,
    "h": 27.5
  },
  "luminance": 0.12561
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8312B

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

Preview Lab → · Contrast checker → · Palette generator →

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