#B8312F#B8312F

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

Color values

HEX#B8312F
RGBrgb(184, 49, 47)
HSLhsl(1, 59%, 45%)
HSVhsv(1, 74%, 72%)
CMYKcmyk(0%, 73.4%, 74.5%, 27.8%)
CIE-LABlab(42.15, 53.45, 33.80)
CIE-LCHlch(42.15, 63.24, 32.31°)
OKLaboklab(52.19% 0.1546 0.076)
OKLCHoklch(52.19% 0.172 26.2)
XYZxyz(21.3810, 12.5955, 3.9941)
Luminance0.1259 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8312F #2FB6B8
analogous
#B82F71 #B8312F #B8752F
triadic
#B8312F #2FB831 #312FB8
tetradic
#B8312F #71B82F #2FB6B8 #752FB8
square
#B8312F #71B82F #2FB6B8 #752FB8
split-complementary
#B8312F #2FB875 #2F71B8
monochromatic
#571716 #872423 #B8312F #D35352 #DF8482

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8312F#FFFFFF#000000##FFFFFF
##B8312F1.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)
#59512D
Deuteranopia (green-blind)
#7A6E2A
Tritanopia (blue-blind)
#CB0032
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b8312f;
/* rgb */ color: rgb(184, 49, 47);
/* oklch */ color: oklch(52.2% 0.172 26.2);
Tailwind
colors: {
  custom: {
    50: '#d67368',
    500: '#b8312f',
    950: '#000000',
  },
}
SCSS
$custom: #b8312f;
$custom-light: #d67368;
$custom-dark: #000000;
JSON
{
  "hex": "#b8312f",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.876,
    "s": 59.307,
    "l": 45.294
  },
  "oklch": {
    "l": 0.52188,
    "c": 0.17228,
    "h": 26.2
  },
  "luminance": 0.12592
}

Semantic roles & 50–950 ramp

primary
#B8312F
secondary
#7BC7C8
accent
#E0E245
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B8312F

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

Preview Lab → · Contrast checker → · Palette generator →

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