#B9313F#B9313F

#B9313F is a mid, vivid red. Relative luminance 0.129; OKLCH L 52.6% C 0.172 H 20.0°. Best body text is #FFFFFF at 5.88:1 contrast (WCAG AA passes).

Color values

HEX#B9313F
RGBrgb(185, 49, 63)
HSLhsl(354, 58%, 46%)
HSVhsv(354, 74%, 73%)
CMYKcmyk(0%, 73.5%, 65.9%, 27.5%)
CIE-LABlab(42.57, 54.56, 24.76)
CIE-LCHlch(42.57, 59.91, 24.41°)
OKLaboklab(52.61% 0.1614 0.0587)
OKLCHoklch(52.61% 0.172 20)
XYZxyz(22.0055, 12.8731, 6.0277)
Luminance0.1287 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B9313F #31B9AB
analogous
#B93183 #B9313F #B96731
triadic
#B9313F #3FB931 #313FB9
tetradic
#B9313F #83B931 #31B9AB #6731B9
square
#B9313F #83B931 #31B9AB #6731B9
split-complementary
#B9313F #31B967 #3183B9
monochromatic
#58171E #89242F #B9313F #D25562 #DF868F

Accessibility & contrast

On white

5.88
#B9313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B9313F
5.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B9313F#FFFFFF#000000##FFFFFF
##B9313F1.005.883.575.88
#FFFFFF5.881.0021.001.00
#0000003.5721.001.0021.00
##FFFFFF5.881.0021.001.00

Color blindness preview

Protanopia (red-blind)
#57523E
Deuteranopia (green-blind)
#7A6F3B
Tritanopia (blue-blind)
#CB0037
Achromatopsia (no color)
#646464

Design tokens & code

CSS
--color: #b9313f;
/* rgb */ color: rgb(185, 49, 63);
/* oklch */ color: oklch(52.6% 0.172 20.0);
Tailwind
colors: {
  custom: {
    50: '#d67474',
    500: '#b9313f',
    950: '#000000',
  },
}
SCSS
$custom: #b9313f;
$custom-light: #d67474;
$custom-dark: #000000;
JSON
{
  "hex": "#b9313f",
  "rgb": {
    "r": 185,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.824,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.52613,
    "c": 0.17177,
    "h": 20
  },
  "luminance": 0.1287
}

Semantic roles & 50–950 ramp

primary
#B9313F
secondary
#7DC8C1
accent
#E1D146
background
#FEF7F7
surface
#FCEDED
border
#D5C8C8
text
#160908
muted
#847B7B

Preview Lab

Preview with #B9313F

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

Preview Lab → · Contrast checker → · Palette generator →

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