#B5312F#B5312F

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

Color values

HEX#B5312F
RGBrgb(181, 49, 47)
HSLhsl(1, 59%, 45%)
HSVhsv(1, 74%, 71%)
CMYKcmyk(0%, 72.9%, 74%, 29%)
CIE-LABlab(41.58, 52.50, 33.00)
CIE-LCHlch(41.58, 62.01, 32.16°)
OKLaboklab(51.66% 0.152 0.0744)
OKLCHoklch(51.66% 0.169 26.1)
XYZxyz(20.6698, 12.2288, 3.9608)
Luminance0.1223 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5312F #2FB3B5
analogous
#B52F70 #B5312F #B5742F
triadic
#B5312F #2FB531 #312FB5
tetradic
#B5312F #70B52F #2FB3B5 #742FB5
square
#B5312F #70B52F #2FB3B5 #742FB5
split-complementary
#B5312F #2FB574 #2F70B5
monochromatic
#541716 #842422 #B5312F #D15250 #DE8280

Accessibility & contrast

On white

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

On black

3.45
#B5312F on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##B5312F#FFFFFF#000000##FFFFFF
##B5312F1.006.103.456.10
#FFFFFF6.101.0021.001.00
#0000003.4521.001.0021.00
##FFFFFF6.101.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b5312f;
/* rgb */ color: rgb(181, 49, 47);
/* oklch */ color: oklch(51.7% 0.169 26.1);
Tailwind
colors: {
  custom: {
    50: '#d47368',
    500: '#b5312f',
    950: '#000000',
  },
}
SCSS
$custom: #b5312f;
$custom-light: #d47368;
$custom-dark: #000000;
JSON
{
  "hex": "#b5312f",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 47
  },
  "hsl": {
    "h": 0.896,
    "s": 58.772,
    "l": 44.706
  },
  "oklch": {
    "l": 0.51659,
    "c": 0.16923,
    "h": 26.1
  },
  "luminance": 0.12226
}

Semantic roles & 50–950 ramp

primary
#B5312F
secondary
#79C6C7
accent
#E0E246
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B5312F

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

Preview Lab → · Contrast checker → · Palette generator →

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