#B8312A#B8312A

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

Color values

HEX#B8312A
RGBrgb(184, 49, 42)
HSLhsl(3, 63%, 44%)
HSVhsv(3, 77%, 72%)
CMYKcmyk(0%, 73.4%, 77.2%, 27.8%)
CIE-LABlab(42.09, 53.25, 36.60)
CIE-LCHlch(42.09, 64.62, 34.50°)
OKLaboklab(52.13% 0.1529 0.0808)
OKLCHoklch(52.13% 0.173 27.8)
XYZxyz(21.2859, 12.5574, 3.4931)
Luminance0.1255 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8312A #2AB1B8
analogous
#B82A6A #B8312A #B8782A
triadic
#B8312A #2AB831 #312AB8
tetradic
#B8312A #6AB82A #2AB1B8 #782AB8
square
#B8312A #6AB82A #2AB1B8 #782AB8
split-complementary
#B8312A #2AB878 #2A6AB8
monochromatic
#541613 #86241F #B8312A #D6514A #E1807B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8312A#FFFFFF#000000##FFFFFF
##B8312A1.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)
#595128
Deuteranopia (green-blind)
#7B6E25
Tritanopia (blue-blind)
#CB0031
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b8312a;
/* rgb */ color: rgb(184, 49, 42);
/* oklch */ color: oklch(52.1% 0.173 27.8);
Tailwind
colors: {
  custom: {
    50: '#d67364',
    500: '#b8312a',
    950: '#000000',
  },
}
SCSS
$custom: #b8312a;
$custom-light: #d67364;
$custom-dark: #000000;
JSON
{
  "hex": "#b8312a",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 42
  },
  "hsl": {
    "h": 2.958,
    "s": 62.832,
    "l": 44.314
  },
  "oklch": {
    "l": 0.52125,
    "c": 0.17297,
    "h": 27.8
  },
  "luminance": 0.12554
}

Semantic roles & 50–950 ramp

primary
#B8312A
secondary
#75C5C9
accent
#DEE642
background
#FEF7F6
surface
#FDEDEB
border
#D5C8C6
text
#160905
muted
#847B7A

Preview Lab

Preview with #B8312A

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

Preview Lab → · Contrast checker → · Palette generator →

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