#B8313E#B8313E

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

Color values

HEX#B8313E
RGBrgb(184, 49, 62)
HSLhsl(354, 58%, 46%)
HSVhsv(354, 73%, 72%)
CMYKcmyk(0%, 73.4%, 66.3%, 27.8%)
CIE-LABlab(42.37, 54.19, 25.07)
CIE-LCHlch(42.37, 59.71, 24.83°)
OKLaboklab(52.42% 0.1602 0.0593)
OKLCHoklch(52.42% 0.171 20.3)
XYZxyz(21.7373, 12.7380, 5.8706)
Luminance0.1273 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B8313E #31B8AB
analogous
#B83181 #B8313E #B86731
triadic
#B8313E #3EB831 #313EB8
tetradic
#B8313E #81B831 #31B8AB #6731B8
square
#B8313E #81B831 #31B8AB #6731B8
split-complementary
#B8313E #31B867 #3181B8
monochromatic
#57171D #88242E #B8313E #D25561 #DE858E

Accessibility & contrast

On white

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

On black

3.55
#B8313E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B8313E#FFFFFF#000000##FFFFFF
##B8313E1.005.923.555.92
#FFFFFF5.921.0021.001.00
#0000003.5521.001.0021.00
##FFFFFF5.921.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b8313e;
/* rgb */ color: rgb(184, 49, 62);
/* oklch */ color: oklch(52.4% 0.171 20.3);
Tailwind
colors: {
  custom: {
    50: '#d57473',
    500: '#b8313e',
    950: '#000000',
  },
}
SCSS
$custom: #b8313e;
$custom-light: #d57473;
$custom-dark: #000000;
JSON
{
  "hex": "#b8313e",
  "rgb": {
    "r": 184,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 354.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.52421,
    "c": 0.17082,
    "h": 20.3
  },
  "luminance": 0.12735
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B8313E

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

Preview Lab → · Contrast checker → · Palette generator →

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