#B8313D#B8313D

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

Color values

HEX#B8313D
RGBrgb(184, 49, 61)
HSLhsl(355, 58%, 46%)
HSVhsv(355, 73%, 72%)
CMYKcmyk(0%, 73.4%, 66.8%, 27.8%)
CIE-LABlab(42.35, 54.14, 25.67)
CIE-LCHlch(42.35, 59.91, 25.37°)
OKLaboklab(52.4% 0.1598 0.0605)
OKLCHoklch(52.4% 0.171 20.7)
XYZxyz(21.7101, 12.7271, 5.7274)
Luminance0.1272 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8313D #31B8AC
analogous
#B83180 #B8313D #B86931
triadic
#B8313D #3DB831 #313DB8
tetradic
#B8313D #80B831 #31B8AC #6931B8
square
#B8313D #80B831 #31B8AC #6931B8
split-complementary
#B8313D #31B869 #3180B8
monochromatic
#57171D #88242D #B8313D #D25560 #DE858D

Accessibility & contrast

On white

5.92
#B8313D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B8313D
5.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B8313D#FFFFFF#000000##FFFFFF
##B8313D1.005.923.545.92
#FFFFFF5.921.0021.001.00
#0000003.5421.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523C
Deuteranopia (green-blind)
#796E39
Tritanopia (blue-blind)
#CA0037
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b8313d;
/* rgb */ color: rgb(184, 49, 61);
/* oklch */ color: oklch(52.4% 0.171 20.7);
Tailwind
colors: {
  custom: {
    50: '#d57372',
    500: '#b8313d',
    950: '#000000',
  },
}
SCSS
$custom: #b8313d;
$custom-light: #d57372;
$custom-dark: #000000;
JSON
{
  "hex": "#b8313d",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 354.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52403,
    "c": 0.17088,
    "h": 20.7
  },
  "luminance": 0.12724
}

Semantic roles & 50–950 ramp

primary
#B8313D
secondary
#7DC8C1
accent
#E1D347
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160908
muted
#847B7B

Preview Lab

Preview with #B8313D

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

Preview Lab → · Contrast checker → · Palette generator →

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