#B5313D#B5313D

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

Color values

HEX#B5313D
RGBrgb(181, 49, 61)
HSLhsl(355, 57%, 45%)
HSVhsv(355, 73%, 71%)
CMYKcmyk(0%, 72.9%, 66.3%, 29%)
CIE-LABlab(41.78, 53.20, 24.83)
CIE-LCHlch(41.78, 58.71, 25.02°)
OKLaboklab(51.88% 0.1572 0.0588)
OKLCHoklch(51.88% 0.168 20.5)
XYZxyz(20.9989, 12.3604, 5.6941)
Luminance0.1236 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5313D #31B5A9
analogous
#B5317F #B5313D #B56731
triadic
#B5313D #3DB531 #313DB5
tetradic
#B5313D #7FB531 #31B5A9 #6731B5
square
#B5313D #7FB531 #31B5A9 #6731B5
split-complementary
#B5313D #31B567 #317FB5
monochromatic
#55171D #85242D #B5313D #D0535E #DD838B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5313D#FFFFFF#000000##FFFFFF
##B5313D1.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)
#56513C
Deuteranopia (green-blind)
#776D39
Tritanopia (blue-blind)
#C70037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5313d;
/* rgb */ color: rgb(181, 49, 61);
/* oklch */ color: oklch(51.9% 0.168 20.5);
Tailwind
colors: {
  custom: {
    50: '#d37372',
    500: '#b5313d',
    950: '#000000',
  },
}
SCSS
$custom: #b5313d;
$custom-light: #d37372;
$custom-dark: #000000;
JSON
{
  "hex": "#b5313d",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 61
  },
  "hsl": {
    "h": 354.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51879,
    "c": 0.16784,
    "h": 20.5
  },
  "luminance": 0.12357
}

Semantic roles & 50–950 ramp

primary
#B5313D
secondary
#7BC7C0
accent
#E1D347
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #B5313D

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

Preview Lab → · Contrast checker → · Palette generator →

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