#B5313C#B5313C

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

Color values

HEX#B5313C
RGBrgb(181, 49, 60)
HSLhsl(355, 57%, 45%)
HSVhsv(355, 73%, 71%)
CMYKcmyk(0%, 72.9%, 66.9%, 29%)
CIE-LABlab(41.77, 53.14, 25.43)
CIE-LCHlch(41.77, 58.91, 25.57°)
OKLaboklab(51.86% 0.1568 0.06)
OKLCHoklch(51.86% 0.168 20.9)
XYZxyz(20.9722, 12.3497, 5.5535)
Luminance0.1235 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5313C #31B5AA
analogous
#B5317E #B5313C #B56831
triadic
#B5313C #3CB531 #313CB5
tetradic
#B5313C #7EB531 #31B5AA #6831B5
square
#B5313C #7EB531 #31B5AA #6831B5
split-complementary
#B5313C #31B568 #317EB5
monochromatic
#55171C #85242C #B5313C #D0535D #DD838B

Accessibility & contrast

On white

6.05
#B5313C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #B5313C
6.05:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5313C#FFFFFF#000000##FFFFFF
##B5313C1.006.053.476.05
#FFFFFF6.051.0021.001.00
#0000003.4721.001.0021.00
##FFFFFF6.051.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513B
Deuteranopia (green-blind)
#776D38
Tritanopia (blue-blind)
#C70036
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5313c;
/* rgb */ color: rgb(181, 49, 60);
/* oklch */ color: oklch(51.9% 0.168 20.9);
Tailwind
colors: {
  custom: {
    50: '#d37371',
    500: '#b5313c',
    950: '#000000',
  },
}
SCSS
$custom: #b5313c;
$custom-light: #d37371;
$custom-dark: #000000;
JSON
{
  "hex": "#b5313c",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 60
  },
  "hsl": {
    "h": 355,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51861,
    "c": 0.1679,
    "h": 20.9
  },
  "luminance": 0.12347
}

Semantic roles & 50–950 ramp

primary
#B5313C
secondary
#7BC7C0
accent
#E1D447
background
#FEF7F6
surface
#FCEDEC
border
#D5C8C7
text
#160907
muted
#847B7A

Preview Lab

Preview with #B5313C

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

Preview Lab → · Contrast checker → · Palette generator →

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