#B8313A#B8313A

#B8313A is a mid, vivid red. Relative luminance 0.127; OKLCH L 52.4% C 0.171 H 22.0°. Best body text is #FFFFFF at 5.93:1 contrast (WCAG AA passes).

Color values

HEX#B8313A
RGBrgb(184, 49, 58)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 73%, 72%)
CMYKcmyk(0%, 73.4%, 68.5%, 27.8%)
CIE-LABlab(42.30, 53.97, 27.43)
CIE-LCHlch(42.30, 60.54, 26.94°)
OKLaboklab(52.35% 0.1587 0.0641)
OKLCHoklch(52.35% 0.171 22)
XYZxyz(21.6316, 12.6957, 5.3137)
Luminance0.1269 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8313A #31B8AF
analogous
#B8317D #B8313A #B86B31
triadic
#B8313A #3AB831 #313AB8
tetradic
#B8313A #7DB831 #31B8AF #6B31B8
square
#B8313A #7DB831 #31B8AF #6B31B8
split-complementary
#B8313A #31B86B #317DB8
monochromatic
#57171C #88242B #B8313A #D2555D #DE858B

Accessibility & contrast

On white

5.93
#B8313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.54
#B8313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B8313A
5.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8313A#FFFFFF#000000##FFFFFF
##B8313A1.005.933.545.93
#FFFFFF5.931.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.931.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585139
Deuteranopia (green-blind)
#796E36
Tritanopia (blue-blind)
#CA0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8313a;
/* rgb */ color: rgb(184, 49, 58);
/* oklch */ color: oklch(52.4% 0.171 22.0);
Tailwind
colors: {
  custom: {
    50: '#d57370',
    500: '#b8313a',
    950: '#000000',
  },
}
SCSS
$custom: #b8313a;
$custom-light: #d57370;
$custom-dark: #000000;
JSON
{
  "hex": "#b8313a",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 356,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52352,
    "c": 0.17109,
    "h": 22
  },
  "luminance": 0.12692
}

Semantic roles & 50–950 ramp

primary
#B8313A
secondary
#7DC8C3
accent
#E1D747
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B8313A

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

Preview Lab → · Contrast checker → · Palette generator →

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