#B9313B#B9313B

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

Color values

HEX#B9313B
RGBrgb(185, 49, 59)
HSLhsl(356, 58%, 46%)
HSVhsv(356, 74%, 73%)
CMYKcmyk(0%, 73.5%, 68.1%, 27.5%)
CIE-LABlab(42.51, 54.34, 27.12)
CIE-LCHlch(42.51, 60.73, 26.52°)
OKLaboklab(52.54% 0.1599 0.0635)
OKLCHoklch(52.54% 0.172 21.6)
XYZxyz(21.8977, 12.8300, 5.4602)
Luminance0.1283 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9313B #31B9AF
analogous
#B9317F #B9313B #B96B31
triadic
#B9313B #3BB931 #313BB9
tetradic
#B9313B #7FB931 #31B9AF #6B31B9
square
#B9313B #7FB931 #31B9AF #6B31B9
split-complementary
#B9313B #31B96B #317FB9
monochromatic
#58171C #89242C #B9313B #D2555E #DF868C

Accessibility & contrast

On white

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

On black

3.57
#B9313B on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B9313B#FFFFFF#000000##FFFFFF
##B9313B1.005.893.575.89
#FFFFFF5.891.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.891.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58523A
Deuteranopia (green-blind)
#7A6F37
Tritanopia (blue-blind)
#CB0036
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9313b;
/* rgb */ color: rgb(185, 49, 59);
/* oklch */ color: oklch(52.5% 0.172 21.6);
Tailwind
colors: {
  custom: {
    50: '#d67471',
    500: '#b9313b',
    950: '#000000',
  },
}
SCSS
$custom: #b9313b;
$custom-light: #d67471;
$custom-dark: #000000;
JSON
{
  "hex": "#b9313b",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 59
  },
  "hsl": {
    "h": 355.588,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52543,
    "c": 0.17202,
    "h": 21.6
  },
  "luminance": 0.12827
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #B9313B

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

Preview Lab → · Contrast checker → · Palette generator →

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