#B5313A#B5313A

#B5313A is a mid, vivid red. Relative luminance 0.123; OKLCH L 51.8% C 0.168 H 21.8°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).

Color values

HEX#B5313A
RGBrgb(181, 49, 58)
HSLhsl(356, 57%, 45%)
HSVhsv(356, 73%, 71%)
CMYKcmyk(0%, 72.9%, 68%, 29%)
CIE-LABlab(41.73, 53.03, 26.61)
CIE-LCHlch(41.73, 59.33, 26.64°)
OKLaboklab(51.83% 0.1561 0.0623)
OKLCHoklch(51.83% 0.168 21.8)
XYZxyz(20.9204, 12.3290, 5.2803)
Luminance0.1233 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5313A #31B5AC
analogous
#B5317C #B5313A #B56A31
triadic
#B5313A #3AB531 #313AB5
tetradic
#B5313A #7CB531 #31B5AC #6A31B5
square
#B5313A #7CB531 #31B5AC #6A31B5
split-complementary
#B5313A #31B56A #317CB5
monochromatic
#55171B #85242B #B5313A #D0535B #DD8389

Accessibility & contrast

On white

6.06
#B5313A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.47
#B5313A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5313A
6.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5313A#FFFFFF#000000##FFFFFF
##B5313A1.006.063.476.06
#FFFFFF6.061.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#565139
Deuteranopia (green-blind)
#786D36
Tritanopia (blue-blind)
#C70036
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5313a;
/* rgb */ color: rgb(181, 49, 58);
/* oklch */ color: oklch(51.8% 0.168 21.8);
Tailwind
colors: {
  custom: {
    50: '#d37370',
    500: '#b5313a',
    950: '#000000',
  },
}
SCSS
$custom: #b5313a;
$custom-light: #d37370;
$custom-dark: #000000;
JSON
{
  "hex": "#b5313a",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 58
  },
  "hsl": {
    "h": 355.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51827,
    "c": 0.16804,
    "h": 21.8
  },
  "luminance": 0.12326
}

Semantic roles & 50–950 ramp

primary
#B5313A
secondary
#7BC7C2
accent
#E1D647
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B5313A

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

Preview Lab → · Contrast checker → · Palette generator →

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