#B1312B#B1312B

#B1312B is a mid, vivid red. Relative luminance 0.117; OKLCH L 50.9% C 0.166 H 27.4°. Best body text is #FFFFFF at 6.28:1 contrast (WCAG AA passes).

Color values

HEX#B1312B
RGBrgb(177, 49, 43)
HSLhsl(3, 61%, 43%)
HSVhsv(3, 76%, 69%)
CMYKcmyk(0%, 72.3%, 75.7%, 30.6%)
CIE-LABlab(40.77, 51.04, 34.22)
CIE-LCHlch(40.77, 61.45, 33.83°)
OKLaboklab(50.9% 0.147 0.0764)
OKLCHoklch(50.9% 0.166 27.4)
XYZxyz(19.6681, 11.7212, 3.5118)
Luminance0.1172 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B1312B #2BABB1
analogous
#B12B68 #B1312B #B1742B
triadic
#B1312B #2BB131 #312BB1
tetradic
#B1312B #68B12B #2BABB1 #742BB1
square
#B1312B #68B12B #2BABB1 #742BB1
split-complementary
#B1312B #2BB174 #2B68B1
monochromatic
#4F1613 #80231F #B1312B #D24D47 #DE7D78

Accessibility & contrast

On white

6.28
#B1312B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#B1312B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B1312B
6.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B1312B#FFFFFF#000000##FFFFFF
##B1312B1.006.283.346.28
#FFFFFF6.281.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.281.0021.001.00

Color blindness preview

Protanopia (red-blind)
#574E29
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#C30031
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #b1312b;
/* rgb */ color: rgb(177, 49, 43);
/* oklch */ color: oklch(50.9% 0.166 27.4);
Tailwind
colors: {
  custom: {
    50: '#d17265',
    500: '#b1312b',
    950: '#000000',
  },
}
SCSS
$custom: #b1312b;
$custom-light: #d17265;
$custom-dark: #000000;
JSON
{
  "hex": "#b1312b",
  "rgb": {
    "r": 177,
    "g": 49,
    "b": 43
  },
  "hsl": {
    "h": 2.687,
    "s": 60.909,
    "l": 43.137
  },
  "oklch": {
    "l": 0.50903,
    "c": 0.16567,
    "h": 27.4
  },
  "luminance": 0.11718
}

Semantic roles & 50–950 ramp

primary
#B1312B
secondary
#72C2C6
accent
#DDE444
background
#FEF7F6
surface
#FCEDEB
border
#D5C8C6
text
#160805
muted
#847B7A

Preview Lab

Preview with #B1312B

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

Preview Lab → · Contrast checker → · Palette generator →

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