#B8313B#B8313B

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

Color values

HEX#B8313B
RGBrgb(184, 49, 59)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 73%, 72%)
CMYKcmyk(0%, 73.4%, 67.9%, 27.8%)
CIE-LABlab(42.32, 54.03, 26.84)
CIE-LCHlch(42.32, 60.33, 26.42°)
OKLaboklab(52.37% 0.159 0.0629)
OKLCHoklch(52.37% 0.171 21.6)
XYZxyz(21.6573, 12.7060, 5.4490)
Luminance0.1270 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8313B #31B8AE
analogous
#B8317E #B8313B #B86B31
triadic
#B8313B #3BB831 #313BB8
tetradic
#B8313B #7EB831 #31B8AE #6B31B8
square
#B8313B #7EB831 #31B8AE #6B31B8
split-complementary
#B8313B #31B86B #317EB8
monochromatic
#57171C #88242C #B8313B #D2555E #DE858C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B8313B#FFFFFF#000000##FFFFFF
##B8313B1.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)
#57523A
Deuteranopia (green-blind)
#796E37
Tritanopia (blue-blind)
#CA0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8313b;
/* rgb */ color: rgb(184, 49, 59);
/* oklch */ color: oklch(52.4% 0.171 21.6);
Tailwind
colors: {
  custom: {
    50: '#d57371',
    500: '#b8313b',
    950: '#000000',
  },
}
SCSS
$custom: #b8313b;
$custom-light: #d57371;
$custom-dark: #000000;
JSON
{
  "hex": "#b8313b",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52368,
    "c": 0.17101,
    "h": 21.6
  },
  "luminance": 0.12703
}

Semantic roles & 50–950 ramp

primary
#B8313B
secondary
#7DC8C2
accent
#E1D647
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B8313B

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

Preview Lab → · Contrast checker → · Palette generator →

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