#B5312D#B5312D

#B5312D is a mid, vivid red. Relative luminance 0.122; OKLCH L 51.6% C 0.170 H 26.8°. Best body text is #FFFFFF at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#B5312D
RGBrgb(181, 49, 45)
HSLhsl(2, 60%, 44%)
HSVhsv(2, 75%, 71%)
CMYKcmyk(0%, 72.9%, 75.1%, 29%)
CIE-LABlab(41.55, 52.42, 34.14)
CIE-LCHlch(41.55, 62.55, 33.08°)
OKLaboklab(51.63% 0.1513 0.0764)
OKLCHoklch(51.63% 0.17 26.8)
XYZxyz(20.6304, 12.2130, 3.7532)
Luminance0.1221 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5312D #2DB1B5
analogous
#B52D6D #B5312D #B5752D
triadic
#B5312D #2DB531 #312DB5
tetradic
#B5312D #6DB52D #2DB1B5 #752DB5
square
#B5312D #6DB52D #2DB1B5 #752DB5
split-complementary
#B5312D #2DB575 #2D6DB5
monochromatic
#531615 #842421 #B5312D #D3514D #DF807E

Accessibility & contrast

On white

6.10
#B5312D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.44
#B5312D on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B5312D
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B5312D#FFFFFF#000000##FFFFFF
##B5312D1.006.103.446.10
#FFFFFF6.101.0021.001.00
#0000003.4421.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#58502B
Deuteranopia (green-blind)
#796C28
Tritanopia (blue-blind)
#C70032
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5312d;
/* rgb */ color: rgb(181, 49, 45);
/* oklch */ color: oklch(51.6% 0.170 26.8);
Tailwind
colors: {
  custom: {
    50: '#d47366',
    500: '#b5312d',
    950: '#000000',
  },
}
SCSS
$custom: #b5312d;
$custom-light: #d47366;
$custom-dark: #000000;
JSON
{
  "hex": "#b5312d",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 45
  },
  "hsl": {
    "h": 1.765,
    "s": 60.177,
    "l": 44.314
  },
  "oklch": {
    "l": 0.51633,
    "c": 0.1695,
    "h": 26.8
  },
  "luminance": 0.1221
}

Semantic roles & 50–950 ramp

primary
#B5312D
secondary
#76C5C7
accent
#DFE344
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B5312D

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

Preview Lab → · Contrast checker → · Palette generator →

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