#B4311B#B4311B

#B4311B is a mid, vivid red. Relative luminance 0.120; OKLCH L 51.3% C 0.171 H 32.1°. Best body text is #FFFFFF at 6.18:1 contrast (WCAG AA passes).

Color values

HEX#B4311B
RGBrgb(180, 49, 27)
HSLhsl(9, 74%, 41%)
HSVhsv(9, 85%, 71%)
CMYKcmyk(0%, 72.8%, 85%, 29.4%)
CIE-LABlab(41.19, 51.49, 43.39)
CIE-LCHlch(41.19, 67.34, 40.12°)
OKLaboklab(51.27% 0.145 0.091)
OKLCHoklch(51.27% 0.171 32.1)
XYZxyz(20.1210, 11.9822, 2.2900)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4311B #1B9EB4
analogous
#B41B52 #B4311B #B47D1B
triadic
#B4311B #1BB431 #311BB4
tetradic
#B4311B #52B41B #1B9EB4 #7D1BB4
square
#B4311B #52B41B #1B9EB4 #7D1BB4
split-complementary
#B4311B #1BB47D #1B52B4
monochromatic
#4A140B #7F2313 #B4311B #DF462D #E77562

Accessibility & contrast

On white

6.18
#B4311B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.40
#B4311B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B4311B
6.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B4311B#FFFFFF#000000##FFFFFF
##B4311B1.006.183.406.18
#FFFFFF6.181.0021.001.00
#0000003.4021.001.0021.00
##FFFFFF6.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#594F16
Deuteranopia (green-blind)
#796C13
Tritanopia (blue-blind)
#C7002D
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4311b;
/* rgb */ color: rgb(180, 49, 27);
/* oklch */ color: oklch(51.3% 0.171 32.1);
Tailwind
colors: {
  custom: {
    50: '#d4725a',
    500: '#b4311b',
    950: '#000000',
  },
}
SCSS
$custom: #b4311b;
$custom-light: #d4725a;
$custom-dark: #000000;
JSON
{
  "hex": "#b4311b",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 27
  },
  "hsl": {
    "h": 8.627,
    "s": 73.913,
    "l": 40.588
  },
  "oklch": {
    "l": 0.51271,
    "c": 0.17117,
    "h": 32.1
  },
  "luminance": 0.11979
}

Semantic roles & 50–950 ramp

primary
#B4311B
secondary
#5FBCCC
accent
#D6F137
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B4311B

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

Preview Lab → · Contrast checker → · Palette generator →

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