#B5313F#B5313F

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

Color values

HEX#B5313F
RGBrgb(181, 49, 63)
HSLhsl(354, 57%, 45%)
HSVhsv(354, 73%, 71%)
CMYKcmyk(0%, 72.9%, 65.2%, 29%)
CIE-LABlab(41.82, 53.32, 23.65)
CIE-LCHlch(41.82, 58.33, 23.92°)
OKLaboklab(51.92% 0.158 0.0563)
OKLCHoklch(51.92% 0.168 19.6)
XYZxyz(21.0538, 12.3824, 5.9831)
Luminance0.1238 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5313F #31B5A7
analogous
#B53181 #B5313F #B56531
triadic
#B5313F #3FB531 #313FB5
tetradic
#B5313F #81B531 #31B5A7 #6531B5
square
#B5313F #81B531 #31B5A7 #6531B5
split-complementary
#B5313F #31B565 #3181B5
monochromatic
#55171D #85242E #B5313F #D05360 #DD838D

Accessibility & contrast

On white

6.04
#B5313F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.48
#B5313F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5313F
6.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5313F#FFFFFF#000000##FFFFFF
##B5313F1.006.043.486.04
#FFFFFF6.041.0021.001.00
#0000003.4821.001.0021.00
##FFFFFF6.041.0021.001.00

Color blindness preview

Protanopia (red-blind)
#56513F
Deuteranopia (green-blind)
#776D3B
Tritanopia (blue-blind)
#C70037
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #b5313f;
/* rgb */ color: rgb(181, 49, 63);
/* oklch */ color: oklch(51.9% 0.168 19.6);
Tailwind
colors: {
  custom: {
    50: '#d37374',
    500: '#b5313f',
    950: '#000000',
  },
}
SCSS
$custom: #b5313f;
$custom-light: #d37374;
$custom-dark: #000000;
JSON
{
  "hex": "#b5313f",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 63
  },
  "hsl": {
    "h": 353.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.51915,
    "c": 0.16773,
    "h": 19.6
  },
  "luminance": 0.12379
}

Semantic roles & 50–950 ramp

primary
#B5313F
secondary
#7BC7BF
accent
#E1D047
background
#FDF7F7
surface
#FBEDED
border
#D4C8C8
text
#150908
muted
#837B7B

Preview Lab

Preview with #B5313F

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

Preview Lab → · Contrast checker → · Palette generator →

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