#B8312D#B8312D

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

Color values

HEX#B8312D
RGBrgb(184, 49, 45)
HSLhsl(2, 61%, 45%)
HSVhsv(2, 76%, 72%)
CMYKcmyk(0%, 73.4%, 75.5%, 27.8%)
CIE-LABlab(42.12, 53.37, 34.93)
CIE-LCHlch(42.12, 63.79, 33.20°)
OKLaboklab(52.16% 0.1539 0.0779)
OKLCHoklch(52.16% 0.173 26.9)
XYZxyz(21.3416, 12.5797, 3.7865)
Luminance0.1258 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8312D #2DB4B8
analogous
#B82D6E #B8312D #B8772D
triadic
#B8312D #2DB831 #312DB8
tetradic
#B8312D #6EB82D #2DB4B8 #772DB8
square
#B8312D #6EB82D #2DB4B8 #772DB8
split-complementary
#B8312D #2DB877 #2D6EB8
monochromatic
#561715 #872421 #B8312D #D4524E #E08280

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8312D#FFFFFF#000000##FFFFFF
##B8312D1.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)
#59512B
Deuteranopia (green-blind)
#7B6E28
Tritanopia (blue-blind)
#CB0032
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b8312d;
/* rgb */ color: rgb(184, 49, 45);
/* oklch */ color: oklch(52.2% 0.173 26.9);
Tailwind
colors: {
  custom: {
    50: '#d67366',
    500: '#b8312d',
    950: '#000000',
  },
}
SCSS
$custom: #b8312d;
$custom-light: #d67366;
$custom-dark: #000000;
JSON
{
  "hex": "#b8312d",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.727,
    "s": 60.699,
    "l": 44.902
  },
  "oklch": {
    "l": 0.52162,
    "c": 0.17255,
    "h": 26.9
  },
  "luminance": 0.12576
}

Semantic roles & 50–950 ramp

primary
#B8312D
secondary
#78C6C9
accent
#DFE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B8312D

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

Preview Lab → · Contrast checker → · Palette generator →

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