#B4311C#B4311C

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

Color values

HEX#B4311C
RGBrgb(180, 49, 28)
HSLhsl(8, 73%, 41%)
HSVhsv(8, 84%, 71%)
CMYKcmyk(0%, 72.8%, 84.4%, 29.4%)
CIE-LABlab(41.20, 51.52, 42.91)
CIE-LCHlch(41.20, 67.05, 39.79°)
OKLaboklab(51.28% 0.1453 0.0903)
OKLCHoklch(51.28% 0.171 31.9)
XYZxyz(20.1327, 11.9869, 2.3520)
Luminance0.1198 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B4311C #1C9FB4
analogous
#B41C53 #B4311C #B47D1C
triadic
#B4311C #1CB431 #311CB4
tetradic
#B4311C #53B41C #1C9FB4 #7D1CB4
square
#B4311C #53B41C #1C9FB4 #7D1CB4
split-complementary
#B4311C #1CB47D #1C53B4
monochromatic
#4A140C #7F2314 #B4311C #DF472F #E77664

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##B4311C#FFFFFF#000000##FFFFFF
##B4311C1.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)
#594F18
Deuteranopia (green-blind)
#796C14
Tritanopia (blue-blind)
#C7002E
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #b4311c;
/* rgb */ color: rgb(180, 49, 28);
/* oklch */ color: oklch(51.3% 0.171 31.9);
Tailwind
colors: {
  custom: {
    50: '#d4725b',
    500: '#b4311c',
    950: '#000000',
  },
}
SCSS
$custom: #b4311c;
$custom-light: #d4725b;
$custom-dark: #000000;
JSON
{
  "hex": "#b4311c",
  "rgb": {
    "r": 180,
    "g": 49,
    "b": 28
  },
  "hsl": {
    "h": 8.289,
    "s": 73.077,
    "l": 40.784
  },
  "oklch": {
    "l": 0.51279,
    "c": 0.17102,
    "h": 31.9
  },
  "luminance": 0.11984
}

Semantic roles & 50–950 ramp

primary
#B4311C
secondary
#60BDCC
accent
#D6F038
background
#FEF7F5
surface
#FCEDE9
border
#D5C8C5
text
#160804
muted
#847B79

Preview Lab

Preview with #B4311C

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

Preview Lab → · Contrast checker → · Palette generator →

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