#B31C1A#B31C1A

#B31C1A is a mid, vivid red. Relative luminance 0.105; OKLCH L 49.4% C 0.185 H 27.9°. Best body text is #FFFFFF at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#B31C1A
RGBrgb(179, 28, 26)
HSLhsl(1, 75%, 40%)
HSVhsv(1, 85%, 70%)
CMYKcmyk(0%, 84.4%, 85.5%, 29.8%)
CIE-LABlab(38.71, 57.52, 41.63)
CIE-LCHlch(38.71, 71.01, 35.90°)
OKLaboklab(49.39% 0.1638 0.0866)
OKLCHoklch(49.39% 0.185 27.9)
XYZxyz(19.1946, 10.4920, 1.9916)
Luminance0.1049 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31C1A #1AB1B3
analogous
#B31A65 #B31C1A #B3681A
triadic
#B31C1A #1AB31C #1C1AB3
tetradic
#B31C1A #65B31A #1AB1B3 #681AB3
square
#B31C1A #65B31A #1AB1B3 #681AB3
split-complementary
#B31C1A #1AB368 #1A65B3
monochromatic
#480B0A #7E1412 #B31C1A #E02C2A #E86160

Accessibility & contrast

On white

6.78
#B31C1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.10
#B31C1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31C1A
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31C1A#FFFFFF#000000##FFFFFF
##B31C1A1.006.783.106.78
#FFFFFF6.781.0021.001.00
#0000003.1021.001.0021.00
##FFFFFF6.781.0021.001.00

Color blindness preview

Protanopia (red-blind)
#4F4617
Deuteranopia (green-blind)
#746710
Tritanopia (blue-blind)
#C6001E
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #b31c1a;
/* rgb */ color: rgb(179, 28, 26);
/* oklch */ color: oklch(49.4% 0.185 27.9);
Tailwind
colors: {
  custom: {
    50: '#d46a59',
    500: '#b31c1a',
    950: '#000000',
  },
}
SCSS
$custom: #b31c1a;
$custom-light: #d46a59;
$custom-dark: #000000;
JSON
{
  "hex": "#b31c1a",
  "rgb": {
    "r": 179,
    "g": 28,
    "b": 26
  },
  "hsl": {
    "h": 0.784,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49389,
    "c": 0.18524,
    "h": 27.9
  },
  "luminance": 0.10489
}

Semantic roles & 50–950 ramp

primary
#B31C1A
secondary
#5DCBCC
accent
#EFF137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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