#B31A1A#B31A1A

#B31A1A is a mid, vivid red. Relative luminance 0.104; OKLCH L 49.3% C 0.186 H 27.6°. Best body text is #FFFFFF at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#B31A1A
RGBrgb(179, 26, 26)
HSLhsl(0, 75%, 40%)
HSVhsv(0, 85%, 70%)
CMYKcmyk(0%, 85.5%, 85.5%, 29.8%)
CIE-LABlab(38.55, 57.98, 41.49)
CIE-LCHlch(38.55, 71.30, 35.59°)
OKLaboklab(49.27% 0.1652 0.0863)
OKLCHoklch(49.27% 0.186 27.6)
XYZxyz(19.1487, 10.4003, 1.9763)
Luminance0.1040 (WCAG relative)
Temperaturewarm
Familyred

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#B31A1A #1AB3B3
analogous
#B31A66 #B31A1A #B3661A
triadic
#B31A1A #1AB31A #1A1AB3
tetradic
#B31A1A #66B31A #1AB3B3 #661AB3
square
#B31A1A #66B31A #1AB3B3 #661AB3
split-complementary
#B31A1A #1AB366 #1A66B3
monochromatic
#480A0A #7E1212 #B31A1A #E02A2A #E86060

Accessibility & contrast

On white

6.82
#B31A1A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#B31A1A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #B31A1A
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##B31A1A#FFFFFF#000000##FFFFFF
##B31A1A1.006.823.086.82
#FFFFFF6.821.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.821.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #b31a1a;
/* rgb */ color: rgb(179, 26, 26);
/* oklch */ color: oklch(49.3% 0.186 27.6);
Tailwind
colors: {
  custom: {
    50: '#d46958',
    500: '#b31a1a',
    950: '#000000',
  },
}
SCSS
$custom: #b31a1a;
$custom-light: #d46958;
$custom-dark: #000000;
JSON
{
  "hex": "#b31a1a",
  "rgb": {
    "r": 179,
    "g": 26,
    "b": 26
  },
  "hsl": {
    "h": 0,
    "s": 74.634,
    "l": 40.196
  },
  "oklch": {
    "l": 0.49271,
    "c": 0.18636,
    "h": 27.6
  },
  "luminance": 0.10397
}

Semantic roles & 50–950 ramp

primary
#B31A1A
secondary
#5DCCCC
accent
#F1F137
background
#FEF6F5
surface
#FDECE9
border
#D5C7C5
text
#160703
muted
#847A78

Preview Lab

Preview with #B31A1A

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

Preview Lab → · Contrast checker → · Palette generator →

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