#B5312C#B5312C

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

Color values

HEX#B5312C
RGBrgb(181, 49, 44)
HSLhsl(2, 61%, 44%)
HSVhsv(2, 76%, 71%)
CMYKcmyk(0%, 72.9%, 75.7%, 29%)
CIE-LABlab(41.54, 52.37, 34.70)
CIE-LCHlch(41.54, 62.83, 33.53°)
OKLaboklab(51.62% 0.151 0.0774)
OKLCHoklch(51.62% 0.17 27.1)
XYZxyz(20.6114, 12.2054, 3.6530)
Luminance0.1220 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B5312C #2CB0B5
analogous
#B52C6C #B5312C #B5762C
triadic
#B5312C #2CB531 #312CB5
tetradic
#B5312C #6CB52C #2CB0B5 #762CB5
square
#B5312C #6CB52C #2CB0B5 #762CB5
split-complementary
#B5312C #2CB576 #2C6CB5
monochromatic
#531614 #842420 #B5312C #D3504B #DF807C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B5312C#FFFFFF#000000##FFFFFF
##B5312C1.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)
#58502A
Deuteranopia (green-blind)
#796C27
Tritanopia (blue-blind)
#C70031
Achromatopsia (no color)
#626262

Design tokens & code

CSS
--color: #b5312c;
/* rgb */ color: rgb(181, 49, 44);
/* oklch */ color: oklch(51.6% 0.170 27.1);
Tailwind
colors: {
  custom: {
    50: '#d47366',
    500: '#b5312c',
    950: '#000000',
  },
}
SCSS
$custom: #b5312c;
$custom-light: #d47366;
$custom-dark: #000000;
JSON
{
  "hex": "#b5312c",
  "rgb": {
    "r": 181,
    "g": 49,
    "b": 44
  },
  "hsl": {
    "h": 2.19,
    "s": 60.889,
    "l": 44.118
  },
  "oklch": {
    "l": 0.5162,
    "c": 0.16964,
    "h": 27.1
  },
  "luminance": 0.12202
}

Semantic roles & 50–950 ramp

primary
#B5312C
secondary
#75C5C8
accent
#DEE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160906
muted
#847B7A

Preview Lab

Preview with #B5312C

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

Preview Lab → · Contrast checker → · Palette generator →

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