#B9313A#B9313A

#B9313A is a mid, vivid red. Relative luminance 0.128; OKLCH L 52.5% C 0.172 H 22.1°. Best body text is #FFFFFF at 5.89:1 contrast (WCAG AA passes).

Color values

HEX#B9313A
RGBrgb(185, 49, 58)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 74%, 73%)
CMYKcmyk(0%, 73.5%, 68.6%, 27.5%)
CIE-LABlab(42.49, 54.29, 27.71)
CIE-LCHlch(42.49, 60.95, 27.04°)
OKLaboklab(52.53% 0.1595 0.0646)
OKLCHoklch(52.53% 0.172 22.1)
XYZxyz(21.8720, 12.8197, 5.3249)
Luminance0.1282 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9313A #31B9B0
analogous
#B9317E #B9313A #B96C31
triadic
#B9313A #3AB931 #313AB9
tetradic
#B9313A #7EB931 #31B9B0 #6C31B9
square
#B9313A #7EB931 #31B9B0 #6C31B9
split-complementary
#B9313A #31B96C #317EB9
monochromatic
#58171C #89242B #B9313A #D2555D #DF868B

Accessibility & contrast

On white

5.89
#B9313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.56
#B9313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B9313A
5.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9313A#FFFFFF#000000##FFFFFF
##B9313A1.005.893.565.89
#FFFFFF5.891.0021.001.00
#0000003.5621.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#585239
Deuteranopia (green-blind)
#7A6F36
Tritanopia (blue-blind)
#CB0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9313a;
/* rgb */ color: rgb(185, 49, 58);
/* oklch */ color: oklch(52.5% 0.172 22.1);
Tailwind
colors: {
  custom: {
    50: '#d67470',
    500: '#b9313a',
    950: '#000000',
  },
}
SCSS
$custom: #b9313a;
$custom-light: #d67470;
$custom-dark: #000000;
JSON
{
  "hex": "#b9313a",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 356.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52527,
    "c": 0.1721,
    "h": 22.1
  },
  "luminance": 0.12816
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9313A

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

Preview Lab → · Contrast checker → · Palette generator →

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