#B5313E#B5313E

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

Color values

HEX#B5313E
RGBrgb(181, 49, 62)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 73%, 71%)
CMYKcmyk(0%, 72.9%, 65.7%, 29%)
CIE-LABlab(41.80, 53.26, 24.24)
CIE-LCHlch(41.80, 58.52, 24.48°)
OKLaboklab(51.9% 0.1576 0.0576)
OKLCHoklch(51.9% 0.168 20.1)
XYZxyz(21.0261, 12.3713, 5.8372)
Luminance0.1237 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5313E #31B5A8
analogous
#B53180 #B5313E #B56631
triadic
#B5313E #3EB531 #313EB5
tetradic
#B5313E #80B531 #31B5A8 #6631B5
square
#B5313E #80B531 #31B5A8 #6631B5
split-complementary
#B5313E #31B566 #3180B5
monochromatic
#55171D #85242E #B5313E #D0535F #DD838C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5313E#FFFFFF#000000##FFFFFF
##B5313E1.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)
#56513D
Deuteranopia (green-blind)
#776D3A
Tritanopia (blue-blind)
#C70037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5313e;
/* rgb */ color: rgb(181, 49, 62);
/* oklch */ color: oklch(51.9% 0.168 20.1);
Tailwind
colors: {
  custom: {
    50: '#d37373',
    500: '#b5313e',
    950: '#000000',
  },
}
SCSS
$custom: #b5313e;
$custom-light: #d37373;
$custom-dark: #000000;
JSON
{
  "hex": "#b5313e",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 62
  },
  "hsl": {
    "h": 354.091,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51897,
    "c": 0.16778,
    "h": 20.1
  },
  "luminance": 0.12368
}

Semantic roles & 50–950 ramp

primary
#B5313E
secondary
#7BC7BF
accent
#E1D247
background
#FDF7F6
surface
#FBEDEC
border
#D4C8C7
text
#150908
muted
#837B7B

Preview Lab

Preview with #B5313E

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

Preview Lab → · Contrast checker → · Palette generator →

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