#B8312E#B8312E

#B8312E is a mid, vivid red. Relative luminance 0.126; OKLCH L 52.2% C 0.172 H 26.5°. Best body text is #FFFFFF at 5.97:1 contrast (WCAG AA passes).

Color values

HEX#B8312E
RGBrgb(184, 49, 46)
HSLhsl(1, 60%, 45%)
HSVhsv(1, 75%, 72%)
CMYKcmyk(0%, 73.4%, 75%, 27.8%)
CIE-LABlab(42.13, 53.41, 34.37)
CIE-LCHlch(42.13, 63.51, 32.76°)
OKLaboklab(52.18% 0.1543 0.077)
OKLCHoklch(52.18% 0.172 26.5)
XYZxyz(21.3611, 12.5875, 3.8891)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8312E #2EB5B8
analogous
#B82E70 #B8312E #B8762E
triadic
#B8312E #2EB831 #312EB8
tetradic
#B8312E #70B82E #2EB5B8 #762EB8
square
#B8312E #70B82E #2EB5B8 #762EB8
split-complementary
#B8312E #2EB876 #2E70B8
monochromatic
#561716 #872422 #B8312E #D35350 #DF8381

Accessibility & contrast

On white

5.97
#B8312E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.52
#B8312E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8312E
5.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8312E#FFFFFF#000000##FFFFFF
##B8312E1.005.973.525.97
#FFFFFF5.971.0021.001.00
#0000003.5221.001.0021.00
##FFFFFF5.971.0021.001.00

Color blindness preview

Protanopia (red-blind)
#59512C
Deuteranopia (green-blind)
#7A6E29
Tritanopia (blue-blind)
#CB0032
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b8312e;
/* rgb */ color: rgb(184, 49, 46);
/* oklch */ color: oklch(52.2% 0.172 26.5);
Tailwind
colors: {
  custom: {
    50: '#d67367',
    500: '#b8312e',
    950: '#000000',
  },
}
SCSS
$custom: #b8312e;
$custom-light: #d67367;
$custom-dark: #000000;
JSON
{
  "hex": "#b8312e",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 46
  },
  "hsl": {
    "h": 1.304,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.52175,
    "c": 0.17241,
    "h": 26.5
  },
  "luminance": 0.12584
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8312E

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

Preview Lab → · Contrast checker → · Palette generator →

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